diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-24 14:07:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-24 14:07:38 +0700 |
commit | ada1e5b198343de72668f6e253b8035364cbf9a3 (patch) | |
tree | 59f3ceed441a2fc2479602e2d02d0fc4817425e9 /perl/perl-Net-Pcap/pcapapi.patch | |
parent | 0e05ee5739ec71700fa91ca836801d97639b20f1 (diff) |
perl/perl-Net-Pcap: Updated for version 0.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-Pcap/pcapapi.patch')
-rw-r--r-- | perl/perl-Net-Pcap/pcapapi.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/perl/perl-Net-Pcap/pcapapi.patch b/perl/perl-Net-Pcap/pcapapi.patch new file mode 100644 index 0000000000000..0ac25c320130a --- /dev/null +++ b/perl/perl-Net-Pcap/pcapapi.patch @@ -0,0 +1,11 @@ +diff -up Net-Pcap-0.18/Makefile.PL.orig Net-Pcap-0.18/Makefile.PL +--- Net-Pcap-0.18/Makefile.PL.orig 2019-06-13 00:50:15.000000000 -0600 ++++ Net-Pcap-0.18/Makefile.PL 2019-06-13 01:00:15.000000000 -0600 +@@ -107,6 +107,7 @@ REASON + # corresponding tests. + my @funcs = have_functions(find_functions()); + $options{DEFINE} .= cpp_defines(@funcs); ++$options{DEFINE} .= " -DPCAP_API=\"\" -DHAVE_PCAP_OPEN -DHAVE_PCAP_SETSAMPLING"; + open(FUNCS, '>funcs.txt') or warn "warning: can't write 'funcs.txt': $!\n"; + print FUNCS join("\n", @funcs), "\n"; + close(FUNCS); |