SOURCES: X11-driver-nvidia-legacy-build-fix.patch - fix building w...

hawk hawk at pld-linux.org
Sat Jun 17 22:19:24 CEST 2006


Author: hawk                         Date: Sat Jun 17 20:19:24 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix building with recent 2.6.16 kernels

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

---- Diffs:

================================================================
Index: SOURCES/X11-driver-nvidia-legacy-build-fix.patch
diff -u SOURCES/X11-driver-nvidia-legacy-build-fix.patch:1.1 SOURCES/X11-driver-nvidia-legacy-build-fix.patch:1.2
--- SOURCES/X11-driver-nvidia-legacy-build-fix.patch:1.1	Tue Mar 14 18:55:39 2006
+++ SOURCES/X11-driver-nvidia-legacy-build-fix.patch	Sat Jun 17 22:19:19 2006
@@ -1,11 +1,14 @@
 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 @@
+@@ -12,12 +12,14 @@
+ OUTPUT=$3
+ 
+ CFLAGS="-D__KERNEL__ \
++-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
  -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 \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/X11-driver-nvidia-legacy-build-fix.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list