summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iptables/iptables_1.4.12.2.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-03-23 14:36:04 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-24 00:12:05 +0000
commit1c19181599c41d8f0bd7f06efc654fe61c3d0bb1 (patch)
treee5e925800a0633b5bb20818f3d21658d4069f62e /meta/recipes-extended/iptables/iptables_1.4.12.2.bb
parent6c77a0f0fa0c97bfbe93f4a930a1549566a7f016 (diff)
downloadpoky-1c19181599c41d8f0bd7f06efc654fe61c3d0bb1.tar.gz
iptables: fix build error against 3.2+ kernel headers
The iptables local linux/types.h overrides the kernel/sysroot types.h. As such, we need to provide some defines that are required to build against 3.2+ kernel headers. ifndef protection is provided for the defines to ensure that configuration that already have these defines are still buildable. This commit is temporary until a new version of iptables can be used that contains the defines. (From OE-Core rev: 1642f519bb30b3ebcfb6170cdbbc0e327d057012) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/iptables/iptables_1.4.12.2.bb')
-rw-r--r--meta/recipes-extended/iptables/iptables_1.4.12.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/iptables/iptables_1.4.12.2.bb b/meta/recipes-extended/iptables/iptables_1.4.12.2.bb
index 2d3d3113bb..663ddadd40 100644
--- a/meta/recipes-extended/iptables/iptables_1.4.12.2.bb
+++ b/meta/recipes-extended/iptables/iptables_1.4.12.2.bb
@@ -22,7 +22,8 @@ FILES_${PN} =+ "${libdir}/xtables/"
22FILES_${PN}-dbg =+ "${libdir}/xtables/.debug" 22FILES_${PN}-dbg =+ "${libdir}/xtables/.debug"
23 23
24SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.bz2 \ 24SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.bz2 \
25 file://GNUmakefile.patch" 25 file://GNUmakefile.patch \
26 file://types.h-add-defines-that-are-required-for-if_packet.patch"
26 27
27SRC_URI[md5sum] = "212112389c7f10c72efb31a4ed193a4c" 28SRC_URI[md5sum] = "212112389c7f10c72efb31a4ed193a4c"
28SRC_URI[sha256sum] = "09fff7dfe6af95675474fd5d0fc67622fac5a0f3d6e02ee614deae9a2e5dae13" 29SRC_URI[sha256sum] = "09fff7dfe6af95675474fd5d0fc67622fac5a0f3d6e02ee614deae9a2e5dae13"