summaryrefslogtreecommitdiff
path: root/package/libpcap/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-19 13:16:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-19 13:16:20 +0000
commitb155a7112aa89b751711bc563ce9e3be6ecc16a1 (patch)
treef0f44803106d0dda7ea6f5b8ade2a039251f43fa /package/libpcap/patches
parent15f12f44a82318e411610fce61f404a2653ca267 (diff)
add workaround for a broken flex version on some systems (e.g. fc4)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4167 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpcap/patches')
-rw-r--r--package/libpcap/patches/103-flex_workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libpcap/patches/103-flex_workaround.patch b/package/libpcap/patches/103-flex_workaround.patch
new file mode 100644
index 0000000000..5b6d0db0cb
--- /dev/null
+++ b/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@