summaryrefslogtreecommitdiffstats
path: root/main/ipfw/remove-werror.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-11-08 02:16:49 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-11-08 02:16:49 +0100
commit5c847c358132efb7a9913d43f2e3045cf6e5b48b (patch)
tree718e945de5da4b9148a183e301459a5f0c79fb7f /main/ipfw/remove-werror.patch
parent4ea2402775f681c954dc2180e32503ef6564e6bf (diff)
downloadaports-5c847c358132efb7a9913d43f2e3045cf6e5b48b.tar.bz2
aports-5c847c358132efb7a9913d43f2e3045cf6e5b48b.tar.xz
main/ipfw: fix build
Diffstat (limited to 'main/ipfw/remove-werror.patch')
-rw-r--r--main/ipfw/remove-werror.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/ipfw/remove-werror.patch b/main/ipfw/remove-werror.patch
new file mode 100644
index 000000000..0632d1ede
--- /dev/null
+++ b/main/ipfw/remove-werror.patch
@@ -0,0 +1,10 @@
+--- a/ipfw/Makefile
++++ b/ipfw/Makefile
+@@ -21,7 +21,6 @@
+ ifneq ($(VER),openwrt)
+ ifeq ($(OSARCH),Linux)
+ EXTRA_CFLAGS += -D__BSD_VISIBLE
+- EXTRA_CFLAGS += -Werror
+ # Required by GCC 4.6
+ EXTRA_CFLAGS += -Wno-unused-but-set-variable
+ endif