summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/103-makefile_flex_workaround.patch
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
commitc859a20e69fbc692026e5a18c166e42d000d7d70 (patch)
treee2f3d074d3a9edc60e7bbea0c8e6d6c1bb9d2bea /package/libpcap/patches/103-makefile_flex_workaround.patch
parentd48992b62b968d3913a80e9fd63c5035827ff514 (diff)
downloadmtk-20170518-c859a20e69fbc692026e5a18c166e42d000d7d70.zip
mtk-20170518-c859a20e69fbc692026e5a18c166e42d000d7d70.tar.gz
mtk-20170518-c859a20e69fbc692026e5a18c166e42d000d7d70.tar.bz2
fix missing parts of r19997.
SVN-Revision: 20057
Diffstat (limited to 'package/libpcap/patches/103-makefile_flex_workaround.patch')
-rw-r--r--package/libpcap/patches/103-makefile_flex_workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libpcap/patches/103-makefile_flex_workaround.patch b/package/libpcap/patches/103-makefile_flex_workaround.patch
new file mode 100644
index 0000000..5d03342
--- /dev/null
+++ b/package/libpcap/patches/103-makefile_flex_workaround.patch
@@ -0,0 +1,14 @@
+
+ Copyright (C) 2006 Markus Wigge
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -55,7 +55,7 @@ SHAREDLIB=$(SOLIBRARY).$(LIBVERSION)
+ CC = @CC@
+ CCOPT = @V_CCOPT@
+ INCLS = -I. @V_INCLS@
+-DEFS = @DEFS@ @V_DEFS@
++DEFS = -D_BSD_SOURCE @DEFS@ @V_DEFS@
+ LIBS = @V_LIBS@
+ DAGLIBS = @DAGLIBS@
+ DEPLIBS = @DEPLIBS@