SOURCES: X11-driver-nvidia-legacy-build-fix.patch (NEW) - backport...

hawk hawk at pld-linux.org
Tue Mar 14 18:55:44 CET 2006


Author: hawk                         Date: Tue Mar 14 17:55:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- backported compilation fix from driver version 8178

---- Files affected:
SOURCES:
   X11-driver-nvidia-legacy-build-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/X11-driver-nvidia-legacy-build-fix.patch
diff -u /dev/null SOURCES/X11-driver-nvidia-legacy-build-fix.patch:1.1
--- /dev/null	Tue Mar 14 18:55:44 2006
+++ SOURCES/X11-driver-nvidia-legacy-build-fix.patch	Tue Mar 14 18:55:39 2006
@@ -0,0 +1,16 @@
+diff -ur nv.orig/usr/src/nv/conftest.sh nv/usr/src/nv/conftest.sh
+--- nv.orig/usr/src/nv/conftest.sh	2006-03-14 18:48:33.000000000 +0100
++++ nv/usr/src/nv/conftest.sh	2006-03-14 18:47:51.000000000 +0100
+@@ -15,9 +15,11 @@
+ -nostdinc -isystem $ISYSTEM \
+ -Werror-implicit-function-declaration"
+ 
++
+ if [ "$OUTPUT" != "$SOURCES" ]; then
++    ARCH=`uname -m | sed -e 's/i.86/i386/'`
+     CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \
+--I$HEADERS -I$HEADERS/asm/mach-default"
++-I$HEADERS -I$HEADERS/asm-$ARCH/mach-default"
+ else
+     CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/asm/mach-default"
+ fi
================================================================


More information about the pld-cvs-commit mailing list