darwin.libpcap: disable condition on PRIVATE to expose symbol

This commit is contained in:
TomaSajt
2024-11-01 00:40:37 +01:00
parent 5b13e7dfe6
commit 20863d4668
@@ -4,7 +4,6 @@
apple-sdk_15,
bison,
bluez,
fetchFromGitHub,
flex,
mkAppleDerivation,
stdenv,
@@ -92,6 +91,8 @@ mkAppleDerivation {
postPatch = ''
substituteInPlace libpcap/Makefile.in \
--replace-fail '@PLATFORM_C_SRC@' '@PLATFORM_C_SRC@ pcap-darwin.c pcap-util.c pcapng.c'
substituteInPlace libpcap/pcap/pcap.h \
--replace-fail '#if PRIVATE' '#if 1'
'';
configureFlags = [