Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 338819
Collapse All | Expand All

(-)/usr/portage/sci-libs/vtk/vtk-5.6.0-r2.ebuild (+4 lines)
Lines 83-88 Link Here
83
	epatch "${FILESDIR}"/${P}-libpng14.patch
83
	epatch "${FILESDIR}"/${P}-libpng14.patch
84
	epatch "${FILESDIR}"/${P}-R.patch
84
	epatch "${FILESDIR}"/${P}-R.patch
85
	epatch "${FILESDIR}"/${P}-odbc.patch
85
	epatch "${FILESDIR}"/${P}-odbc.patch
86
	# Fix sure buffer overflow on some processors as reported by Flameyes in #338819
87
	sed -e "s:CHIPNAME_STRING_LENGTH    (48 + 1):CHIPNAME_STRING_LENGTH    (79 + 1):" \
88
		-i Utilities/kwsys/SystemInformation.cxx \
89
		|| die "Failed to fix SystemInformation.cxx buffer overflow"
86
	sed -e "s:@VTK_TCL_LIBRARY_DIR@:/usr/$(get_libdir):" \
90
	sed -e "s:@VTK_TCL_LIBRARY_DIR@:/usr/$(get_libdir):" \
87
		-i Wrapping/Tcl/pkgIndex.tcl.in \
91
		-i Wrapping/Tcl/pkgIndex.tcl.in \
88
		|| die "Failed to fix tcl pkgIndex file"
92
		|| die "Failed to fix tcl pkgIndex file"

Return to bug 338819