[packages/perl-Net-Pcap] - export perl_settings function
adwol
adwol at pld-linux.org
Tue Oct 9 14:02:38 CEST 2018
commit a00cc6c754a7c55258b45c149c48691c833e9e85
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Tue Oct 9 14:02:08 2018 +0200
- export perl_settings function
perl-Net-Pcap-perl_settings.patch | 11 +++++++++++
perl-Net-Pcap.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/perl-Net-Pcap.spec b/perl-Net-Pcap.spec
index 934b1e3..5a17f2f 100644
--- a/perl-Net-Pcap.spec
+++ b/perl-Net-Pcap.spec
@@ -17,6 +17,7 @@ Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.ta
# Source0-md5: 18d7298dca72b53271d68646c34b6a39
Patch0: libpcap-1.9.patch
Patch1: %{name}-signals-const.patch
+Patch2: %{name}-perl_settings.patch
URL: http://search.cpan.org/dist/Net-Pcap/
BuildRequires: libpcap-devel >= 1.9.0
BuildRequires: perl-devel >= 1:5.8.0
@@ -35,6 +36,7 @@ pakietów LBL pcap(3).
%setup -q -n %{pdir}-%{pnam}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__perl} Makefile.PL \
diff --git a/perl-Net-Pcap-perl_settings.patch b/perl-Net-Pcap-perl_settings.patch
new file mode 100644
index 0000000..c58c9b0
--- /dev/null
+++ b/perl-Net-Pcap-perl_settings.patch
@@ -0,0 +1,11 @@
+diff -ruNp Net-Pcap-0.18.orig/Pcap.pm Net-Pcap-0.18/Pcap.pm
+--- Net-Pcap-0.18.orig/Pcap.pm 2016-05-15 15:24:03.000000000 +0200
++++ Net-Pcap-0.18/Pcap.pm 2018-10-09 13:59:35.731006832 +0200
+@@ -34,6 +34,7 @@ my @func_short_names = qw(
+ lib_version createsrcstr parsesrcstr open setbuff setuserbuffer
+ setmode setmintocopy getevent sendpacket
+ sendqueue_alloc sendqueue_queue sendqueue_transmit
++ perl_settings
+ );
+
+ my @func_long_names = map { "pcap_$_" } @func_short_names;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Pcap.git/commitdiff/a00cc6c754a7c55258b45c149c48691c833e9e85
More information about the pld-cvs-commit
mailing list