summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-19 13:16:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-19 13:16:20 +0000
commitc4cd40bfad43bcf046b3f353d5dfee6d39b4e884 (patch)
tree59a38a0151a6171566ecae24bc61ebcfbfd02772
parente08c8179f6058a9e0b63fd0e5428720fe0093a6f (diff)
downloadmtk-20170518-c4cd40bfad43bcf046b3f353d5dfee6d39b4e884.zip
mtk-20170518-c4cd40bfad43bcf046b3f353d5dfee6d39b4e884.tar.gz
mtk-20170518-c4cd40bfad43bcf046b3f353d5dfee6d39b4e884.tar.bz2
add workaround for a broken flex version on some systems (e.g. fc4)
SVN-Revision: 4167
-rw-r--r--openwrt/package/libpcap/patches/103-flex_workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/libpcap/patches/103-flex_workaround.patch b/openwrt/package/libpcap/patches/103-flex_workaround.patch
new file mode 100644
index 0000000..5b6d0db
--- /dev/null
+++ b/openwrt/package/libpcap/patches/103-flex_workaround.patch
@@ -0,0 +1,14 @@
+
+ Copyright (C) 2006 Markus Wigge
+
+diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
+--- libpcap-0.9.4.orig/Makefile.in 2006-07-19 09:27:47.000000000 +0200
++++ libpcap-0.9.4/Makefile.in 2006-07-19 09:34:48.000000000 +0200
+@@ -53,7 +53,7 @@
+ CC = @CC@
+ CCOPT = @V_CCOPT@
+ INCLS = -I. @V_INCLS@
+-DEFS = @DEFS@ @V_DEFS@
++DEFS = -D_BSD_SOURCE @DEFS@ @V_DEFS@
+ LIBS = @V_LIBS@
+ DYEXT = @DYEXT@