openwrtv3/package/libs/libpcap/patches
Zefir Kurtisi 16725e2db0 libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled
Add patches provided upstream [1] by Fabio Berton to fix error:

> ./gencode.c: In function 'pcap_compile':
> ./gencode.c:693:8: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
>   cstate.ai = NULL;
>         ^
> ./gencode.c: In function 'gen_gateway':
> ./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
>    bpf_error(cstate, "direction applied to 'gateway'");
>              ^

[1] https://github.com/the-tcpdump-group/libpcap/pull/541

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
2016-12-24 11:59:42 +01:00
..
001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled 2016-12-24 11:59:42 +01:00
002-Add-missing-compiler_state_t-parameter.patch libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled 2016-12-24 11:59:42 +01:00
100-debian_shared_lib.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
102-makefile_disable_manpages.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
103-makefile_flex_workaround.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
201-space_optimization.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
202-protocol_api.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
203-undef_iw_mode_monitor.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00
204-usb-bus-path.patch libs/libpcap: update to 1.8.1 2016-12-14 12:13:13 +01:00