]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame - X11-driver-nvidia-gcc34.patch
- 2.6.14 kernel headers generate many warnings so don't use -Werror at all.
[packages/xorg-driver-video-nvidia.git] / X11-driver-nvidia-gcc34.patch
CommitLineData
9d5f9253
PS
1diff -uNr NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c NVIDIA-Linux-x86-1.0-5336-pkg1.fixed/usr/src/nv/nv.c
2--- NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c 2004-01-15 04:29:11.000000000 +0100
3+++ NVIDIA-Linux-x86-1.0-5336-pkg1.fixed/usr/src/nv/nv.c 2004-02-17 20:53:36.000000000 +0100
8b02ebbd
PS
4@@ -1496,6 +1496,7 @@
5 .open = nv_kern_vma_open,
6 .close = nv_kern_vma_release, /* "close" */
7 .nopage = nv_kern_vma_nopage,
8+ .populate = 0
9d5f9253
PS
9 };
10
11 static nv_file_private_t *
205b8320
PS
12--- NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/Makefile.kbuild.orig 2006-01-26 19:37:49.000000000 +0100
13+++ NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/Makefile.kbuild 2006-01-26 19:22:54.000000000 +0100
14@@ -73,7 +73,7 @@
15 #
16
17 EXTRA_CFLAGS += -I$(src)
18-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
19+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
20
21 #
22 # We rely on these two definitions below; if they aren't set, we set them to
23--- NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/conftest.sh.orig 2005-12-15 02:34:40.000000000 +0100
24+++ NVIDIA-Linux-x86_64-1.0-8178-pkg1/usr/src/nv/conftest.sh 2006-01-26 19:21:46.000000000 +0100
25@@ -23,7 +23,7 @@
26
27 CFLAGS="-D__KERNEL__ \
28 -nostdinc -isystem $ISYSTEM \
29--Werror -Wimplicit-function-declaration"
30+-Werror-implicit-function-declaration"
31
32 if [ "$OUTPUT" != "$SOURCES" ]; then
33 ARCH=`uname -m | sed -e 's/i.86/i386/'`
This page took 0.039524 seconds and 4 git commands to generate.