summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-06 19:53:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-06 19:53:29 +0000
commit4c23918658d01f7b66657021185a976a17a4a2d7 (patch)
treedfa836fd49f82c22f0d655b4b67208ec45283306 /core
parent754aed01286b462e998362418c68043811ec6875 (diff)
downloadaports-4c23918658d01f7b66657021185a976a17a4a2d7.tar.bz2
aports-4c23918658d01f7b66657021185a976a17a4a2d7.tar.xz
core/iptables: disable usless C++ tests
Diffstat (limited to 'core')
-rw-r--r--core/iptables/APKBUILD2
-rw-r--r--core/iptables/nocxx.patch15
2 files changed, 17 insertions, 0 deletions
diff --git a/core/iptables/APKBUILD b/core/iptables/APKBUILD
index 4ad25139..b673ec00 100644
--- a/core/iptables/APKBUILD
+++ b/core/iptables/APKBUILD
@@ -9,6 +9,7 @@ url="http://www.iptables.org/"
license=GPL-2
source="http://iptables.org/projects/iptables/files/$pkgname-$pkgver.tar.bz2
iptables-1.4.2-include-in.patch
+ nocxx.patch
iptables.initd
iptables.confd
"
@@ -62,5 +63,6 @@ ip6tables() {
md5sums="545698693b636cfc844aafc6729fd48a iptables-1.4.3.2.tar.bz2
ec3e80a1b0ea3e13e4e60824b7ebd1b9 iptables-1.4.2-include-in.patch
+28513788ba4d556ccd538867dc6205ab nocxx.patch
2202ac150a5dfe32a8363b0ad565ee1d iptables.initd
956ebf5ab69e5a1e1d3983541eab643b iptables.confd"
diff --git a/core/iptables/nocxx.patch b/core/iptables/nocxx.patch
new file mode 100644
index 00000000..beb1ab90
--- /dev/null
+++ b/core/iptables/nocxx.patch
@@ -0,0 +1,15 @@
+--- a/configure 2004-12-07 21:34:23.205172545 +0000
++++ b/configure 2004-12-07 21:37:17.726654782 +0000
+@@ -5148,10 +5148,8 @@
+ :
+ else
+ { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+-See \`config.log' for more details." >&5
+-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+-See \`config.log' for more details." >&2;}
+- { (exit 1); exit 1; }; }
++See \`config.log' for more details." >&5;}
++ { echo "C++ sucks, ignoring ..." >&5; }; }
+ fi
+
+ ac_ext=cc