diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-05-24 10:42:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-05-24 10:42:49 +0000 |
commit | 1da26a536ce9025d3cda68b670905168e1900f23 (patch) | |
tree | 426692f1248504cb8c75db078e34c5ee309d2c08 /package/libpcap/patches/202-protocol_api.patch | |
parent | f94411e910004035c83c3b8261b0790590aaba37 (diff) | |
download | upstream-1da26a536ce9025d3cda68b670905168e1900f23.tar.gz upstream-1da26a536ce9025d3cda68b670905168e1900f23.tar.bz2 upstream-1da26a536ce9025d3cda68b670905168e1900f23.zip |
libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
SVN-Revision: 27000
Diffstat (limited to 'package/libpcap/patches/202-protocol_api.patch')
-rw-r--r-- | package/libpcap/patches/202-protocol_api.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libpcap/patches/202-protocol_api.patch b/package/libpcap/patches/202-protocol_api.patch index 6d59b495d0..892aeb7e0d 100644 --- a/package/libpcap/patches/202-protocol_api.patch +++ b/package/libpcap/patches/202-protocol_api.patch @@ -105,10 +105,11 @@ return (p); } -@@ -318,6 +320,15 @@ pcap_set_buffer_size(pcap_t *p, int buff +@@ -317,6 +319,15 @@ pcap_set_buffer_size(pcap_t *p, int buff + return 0; } - int ++int +pcap_set_protocol(pcap_t *p, unsigned short proto) +{ + if (pcap_check_activated(p)) @@ -117,10 +118,9 @@ + return 0; +} + -+int + int pcap_activate(pcap_t *p) { - int status; --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -68,6 +68,7 @@ extern "C" { |