summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/nvidia-kernel/files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch')
-rw-r--r--media-video/nvidia-kernel/files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-video/nvidia-kernel/files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch b/media-video/nvidia-kernel/files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
new file mode 100644
index 000000000000..bd75515c50c8
--- /dev/null
+++ b/media-video/nvidia-kernel/files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
@@ -0,0 +1,12 @@
+diff -urpN nv.orig/Makefile.kbuild nv/Makefile.kbuild
+--- nv.orig/Makefile.kbuild 2004-11-09 20:27:54.012160376 +0200
++++ nv/Makefile.kbuild 2004-11-09 20:52:59.256328480 +0200
+@@ -73,7 +73,7 @@ endif
+ #
+
+ EXTRA_CFLAGS += -I$(src)
+-EXTRA_CFLAGS += -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -mno-red-zone -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual -Wno-error
++EXTRA_CFLAGS += -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -mno-red-zone -MD $(DEFINES) $(INCLUDES) -Wsign-compare -Wno-cast-qual -Wno-error
+
+ #
+ # We rely on these two definitions below; if they aren't set, we set them to