libpcap: Update shared-lib patch from Debian to fix linking problems
[openwrt/staging/zorun.git] / package / libs / libpcap / patches / 103-makefile_flex_workaround.patch
1
2 Copyright (C) 2006 Markus Wigge
3
4 --- a/Makefile.in
5 +++ b/Makefile.in
6 @@ -60,7 +60,7 @@ MKDEP = @MKDEP@
7 CCOPT = @V_CCOPT@
8 SHLIB_CCOPT = @V_SHLIB_CCOPT@
9 INCLS = -I. @V_INCLS@
10 -DEFS = -DBUILDING_PCAP -Dpcap_EXPORTS @DEFS@ @V_DEFS@
11 +DEFS = -DBUILDING_PCAP -D_BSD_SOURCE -Dpcap_EXPORTS @DEFS@ @V_DEFS@
12 ADDLOBJS = @ADDLOBJS@
13 ADDLARCHIVEOBJS = @ADDLARCHIVEOBJS@
14 LIBS = @LIBS@