mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
96ee7c8bfd
This updates the shared-lib patch to the recent version from debian
found here:
https://salsa.debian.org/rfrancoise/libpcap/-/blob/debian/1.9.1-2/debian/patches/shared-lib.diff
This patch makes it include missing/strlcpy.o to the shared library
which is needed for OpenWrt glibc builds, otherwise there is an
undefined symbol and tcpdump and other builds are failing.
Fixes: 44f11353de
("libpcap: update to 1.9.1")
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
15 lines
377 B
Diff
15 lines
377 B
Diff
|
|
Copyright (C) 2006 Markus Wigge
|
|
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -60,7 +60,7 @@ MKDEP = @MKDEP@
|
|
CCOPT = @V_CCOPT@
|
|
SHLIB_CCOPT = @V_SHLIB_CCOPT@
|
|
INCLS = -I. @V_INCLS@
|
|
-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@
|