aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libpcap/patches/103-makefile_flex_workaround.patch
diff options
context:
space:
mode:
authorSyrone Wong <wong.syrone@gmail.com>2018-07-26 22:46:38 +0800
committerJohn Crispin <john@phrozen.org>2018-07-27 11:17:20 +0200
commit4d57c696b1504bc672416b9ba27eab4e1729b622 (patch)
tree8a024f6d22a95b263720438bf7d6dd5df793cf74 /package/libs/libpcap/patches/103-makefile_flex_workaround.patch
parentc0608c6a27e74923dc94772072d4a279d652b3fc (diff)
downloadupstream-4d57c696b1504bc672416b9ba27eab4e1729b622.tar.gz
upstream-4d57c696b1504bc672416b9ba27eab4e1729b622.tar.bz2
upstream-4d57c696b1504bc672416b9ba27eab4e1729b622.zip
libpcap: update to 1.9.0
001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch dropped due to upstream 002-Add-missing-compiler_state_t-parameter.patch dropped due to upstream 202-protocol_api.patch dropped due to implemented upstream by another way upstream commit: https://github.com/the-tcpdump-group/libpcap/commit/55c690f6f834b4762697d7a134de439c9096c921 and renamed via: https://github.com/the-tcpdump-group/libpcap/commit/697b1f7e9b1d6f5a5be04f821d7c5dc62458bb3b ead is the only user who use the protocol api, we have to use the new api since libpcap 1.9.0 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Diffstat (limited to 'package/libs/libpcap/patches/103-makefile_flex_workaround.patch')
-rw-r--r--package/libs/libpcap/patches/103-makefile_flex_workaround.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/libpcap/patches/103-makefile_flex_workaround.patch b/package/libs/libpcap/patches/103-makefile_flex_workaround.patch
index 5eb6d3fd42..93e07c69c2 100644
--- a/package/libs/libpcap/patches/103-makefile_flex_workaround.patch
+++ b/package/libs/libpcap/patches/103-makefile_flex_workaround.patch
@@ -3,12 +3,12 @@
--- a/Makefile.in
+++ b/Makefile.in
-@@ -56,7 +56,7 @@ LN_S = @LN_S@
- MKDEP = @MKDEP@
+@@ -59,7 +59,7 @@ MKDEP = @MKDEP@
CCOPT = @V_CCOPT@
+ SHLIB_CCOPT = @V_SHLIB_CCOPT@
INCLS = -I. @V_INCLS@
--DEFS = -DBUILDING_PCAP @DEFS@ @V_DEFS@
-+DEFS = -DBUILDING_PCAP -D_BSD_SOURCE @DEFS@ @V_DEFS@
+-DEFS = -DBUILDING_PCAP -Dpcap_EXPORTS @DEFS@ @V_DEFS@
++DEFS = -DBUILDING_PCAP -D_BSD_SOURCE -Dpcap_EXPORTS @DEFS@ @V_DEFS@
ADDLOBJS = @ADDLOBJS@
ADDLARCHIVEOBJS = @ADDLARCHIVEOBJS@
LIBS = @LIBS@