summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-03-07 14:57:14 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-03-07 14:57:14 +0000
commitcd481332b7995bd570f91ee7d5794b37db5a557a (patch)
treee990591dbd301678f27a596f5b6634f592060c52 /dev-cpp/commoncpp2/files
parentRemove old version. (diff)
downloadgentoo-2-cd481332b7995bd570f91ee7d5794b37db5a557a.tar.gz
gentoo-2-cd481332b7995bd570f91ee7d5794b37db5a557a.tar.bz2
gentoo-2-cd481332b7995bd570f91ee7d5794b37db5a557a.zip
Add patch from Aurélien Francillon <aurelien dot francillon at inrialpes dot fr> to fix build failure with newer headers, bug #236177, x86 stable
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'dev-cpp/commoncpp2/files')
-rw-r--r--dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch b/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch
new file mode 100644
index 000000000000..de532b51c3cf
--- /dev/null
+++ b/dev-cpp/commoncpp2/files/1.6.2-configure_detect_netfilter.patch
@@ -0,0 +1,12 @@
+--- m4/ost_socket.m4-orig 2008-11-16 15:24:05.000000000 +0100
++++ m4/ost_socket.m4 2008-11-16 15:24:10.000000000 +0100
+@@ -95,6 +95,9 @@
+ AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
+ [#ifdef HAVE_LIMITS_H
+ #include <limits.h>
++ #endif
++ #ifdef HAVE_NETINET_IN_H
++ #include <netinet/in.h>
+ #endif])
+ if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
+ [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&