aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2016-11-17 13:26:34 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 11:02:33 +0000
commit9f1fe76727e98e58fc9e46ea2b49cf5c0cb48e6c (patch)
tree65fc6e06489c2a8dc23e08251de95db015f65189 /meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb
parentbe60ffcbbdcd370f9d367db887d31a8ccc6b2519 (diff)
downloadopenembedded-core-contrib-9f1fe76727e98e58fc9e46ea2b49cf5c0cb48e6c.tar.gz
libpcap: Fix build when PACKAGECONFIG ipv6 is not enableross/master
Add patches to fix error: / | ERROR: oe_runmake failed | config.status: creating pcap-config.tmp | mv pcap-config.tmp pcap-config | chmod a+x pcap-config | ../libpcap-1.8.1/gencode.c: In function 'pcap_compile': | ../libpcap-1.8.1/gencode.c:693:8: error: 'compiler_state_t | {aka struct _compiler_state}' has no member named 'ai' | cstate.ai = NULL; | ^ | ../libpcap-1.8.1/gencode.c: In function 'gen_gateway': | ../libpcap-1.8.1/gencode.c:4914:13: error: 'cstate' undeclared | (first use in this function) | bpf_error(cstate, "direction applied to 'gateway'"); | ^~~~~~ | ../libpcap-1.8.1/gencode.c:4914:13: note: each undeclared identifier is | reported only once for each function it appears in \ Patches were submitted to upstream [1] [1] https://github.com/the-tcpdump-group/libpcap/pull/541 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb
index 9072fe0b7d..e9db28a7d7 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.8.1.bb
@@ -2,6 +2,8 @@ require libpcap.inc
SRC_URI += " \
file://libpcap-pkgconfig-support.patch \
+ file://0001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch \
+ file://0002-Add-missing-compiler_state_t-parameter.patch \
"
SRC_URI[md5sum] = "3d48f9cd171ff12b0efd9134b52f1447"