aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipfw
diff options
context:
space:
mode:
Diffstat (limited to 'main/ipfw')
-rw-r--r--main/ipfw/APKBUILD12
-rw-r--r--main/ipfw/remove-werror.patch10
2 files changed, 18 insertions, 4 deletions
diff --git a/main/ipfw/APKBUILD b/main/ipfw/APKBUILD
index 7b148ccc47..ebc865642b 100644
--- a/main/ipfw/APKBUILD
+++ b/main/ipfw/APKBUILD
@@ -13,7 +13,8 @@ makedepends=""
install=
source="http://info.iet.unipi.it/~luigi/doc/${_realver}-${pkgname}3.tgz
no-sysctl.patch
- type-correctness.patch"
+ type-correctness.patch
+ remove-werror.patch"
subpackages=""
_builddir="$srcdir/ipfw3-2012"
@@ -40,10 +41,13 @@ package() {
md5sums="004e65e6d545a89c4dcc3e741e287444 20130607-ipfw3.tgz
77b842449998afdbce62cedca529f7f0 no-sysctl.patch
-a5fd21099c3733d52164189e30abf5ce type-correctness.patch"
+a5fd21099c3733d52164189e30abf5ce type-correctness.patch
+e136911cde9e86b7ddcda4fe4af766ab remove-werror.patch"
sha256sums="7dc80437b137e629f8ef3a7889b24ffbd1c27274e9cce15fd1f3b2c8620c6d64 20130607-ipfw3.tgz
b7f3b61af1a6dd88dc01662ef524da886d1f2c4684bdfe023cb6ffe2e9da63de no-sysctl.patch
-ed1e32908b748c0fed5e3eaf5d07cd7df7b67e01fe051796d1b0ca290455009d type-correctness.patch"
+ed1e32908b748c0fed5e3eaf5d07cd7df7b67e01fe051796d1b0ca290455009d type-correctness.patch
+c8fd8b2fdb25ebe639e7312d6dfd70d3320cd6d43357bb40e9361f05c9de7620 remove-werror.patch"
sha512sums="6c4c2c7d4795094b9ff72212394e7dee44e5f9e09e97021b5ac9c3fad6de5a32b1d608ae9572da17f62cb37d076d89ab26859c61255d03d6bce22ca527f2c8ec 20130607-ipfw3.tgz
e32f7bcff5b36b0405f678d3144472f8d7c76321a66a71b4515e266c35dc99378a358fd8f92eab748988e9c94fccb03f61a86acfa43b1a550a14c79a9f059715 no-sysctl.patch
-653d9cc30cedf012cfda8835750b05123e208e61aad5692c6b1714708fbfdc5d04f89e2b7c7a99819cdb607703bdad4507a613bbca6e16f3a439877a320a5b16 type-correctness.patch"
+653d9cc30cedf012cfda8835750b05123e208e61aad5692c6b1714708fbfdc5d04f89e2b7c7a99819cdb607703bdad4507a613bbca6e16f3a439877a320a5b16 type-correctness.patch
+51a1092842c2a1f81c67de8893620ef52c62669141174539d39bb2d88c814327aa6b2900df4d5022aecdd0f9d50e552e9d989cea3bf58945ffcf2a946c9c12dc remove-werror.patch"
diff --git a/main/ipfw/remove-werror.patch b/main/ipfw/remove-werror.patch
new file mode 100644
index 0000000000..0632d1eded
--- /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