summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/bsnmp/files/werror.patch')
-rw-r--r--net-analyzer/bsnmp/files/werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/bsnmp/files/werror.patch b/net-analyzer/bsnmp/files/werror.patch
new file mode 100644
index 000000000000..7a0968e84441
--- /dev/null
+++ b/net-analyzer/bsnmp/files/werror.patch
@@ -0,0 +1,11 @@
+--- bsnmp-1.12/config/Makefile.pre.old 2012-04-26 10:45:58.000000000 -0400
++++ bsnmp-1.12/config/Makefile.pre 2012-04-26 10:46:11.000000000 -0400
+@@ -53,7 +53,7 @@
+ # Assume a Posix-ish make that passes MAKEFLAGS in the environment.
+ SUBMAKE= $(MAKE) --no-print-directory
+
+-WARNS= -Wsystem-headers -Werror -Wall -Wno-format-y2k -W \
++WARNS= -Wsystem-headers -Wall -Wno-format-y2k -W \
+ -Wstrict-prototypes -Wmissing-prototypes \
+ -Wpointer-arith -Wreturn-type -Wcast-qual \
+ -Wwrite-strings -Wswitch -Wshadow -Wcast-align \