SOURCES: X11-driver-nvidia-gcc34.patch - 2.6.14 kernel headers gen...

pluto pluto at pld-linux.org
Thu Jan 26 19:43:22 CET 2006


Author: pluto                        Date: Thu Jan 26 18:43:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- 2.6.14 kernel headers generate many warnings so don't use -Werror at all.
  we should care only for -Werror-implicit-functions-declarations
  for conftest.sh correctness.

---- Files affected:
SOURCES:
   X11-driver-nvidia-gcc34.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/X11-driver-nvidia-gcc34.patch
diff -u SOURCES/X11-driver-nvidia-gcc34.patch:1.2 SOURCES/X11-driver-nvidia-gcc34.patch:1.3
--- SOURCES/X11-driver-nvidia-gcc34.patch:1.2	Sat Jul  3 18:36:03 2004
+++ SOURCES/X11-driver-nvidia-gcc34.patch	Thu Jan 26 19:43:17 2006
@@ -9,3 +9,25 @@
  };
  
  static nv_file_private_t *
+--- NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/Makefile.kbuild.orig	2006-01-26 19:37:49.000000000 +0100
++++ NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/Makefile.kbuild	2006-01-26 19:22:54.000000000 +0100
+@@ -73,7 +73,7 @@
+ #
+ 
+ EXTRA_CFLAGS += -I$(src)
+-EXTRA_CFLAGS += -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses   -Wno-multichar  -Werror -O -fno-common -mno-red-zone -minline-all-stringops -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual -Wno-error
++EXTRA_CFLAGS += -Wall -Werror-implicit-function-declaration -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -O -fno-common -mno-red-zone -minline-all-stringops -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual
+ 
+ #
+ # We rely on these two definitions below; if they aren't set, we set them to
+--- NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/conftest.sh.orig	2005-12-15 02:34:40.000000000 +0100
++++ NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/conftest.sh	2006-01-26 19:21:46.000000000 +0100
+@@ -23,7 +23,7 @@
+ 
+ CFLAGS="-D__KERNEL__ \
+ -nostdinc -isystem $ISYSTEM \
+--Werror -Wimplicit-function-declaration"
++-Werror-implicit-function-declaration"
+ 
+ if [ "$OUTPUT" != "$SOURCES" ]; then
+     ARCH=`uname -m | sed -e 's/i.86/i386/'`
================================================================

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



More information about the pld-cvs-commit mailing list