Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 408841 | Differences between
and this patch

Collapse All | Expand All

(-)nvidia-drivers-173.14.31.ebuild.orig (+5 lines)
Lines 254-259 Link Here
254
			-e 's:-Wsign-compare::g' \
254
			-e 's:-Wsign-compare::g' \
255
			"${NV_SRC}"/Makefile.kbuild
255
			"${NV_SRC}"/Makefile.kbuild
256
256
257
		# Fix building with Linux 3.3.x wrt #408841
258
		sed -i \
259
			-e '/CFLAGS="$CFLAGS/s:-I$SOURCES/arch/x86/include:& -I$OUTPUT/arch/x86/include/generated:' \
260
			usr/src/nv/conftest.sh || die
261
257
		# If you set this then it's your own fault when stuff breaks :)
262
		# If you set this then it's your own fault when stuff breaks :)
258
		use custom-cflags && sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.*
263
		use custom-cflags && sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.*
259
264

Return to bug 408841