aboutsummaryrefslogtreecommitdiffstats
path: root/main/net-snmp/fix-Makefile-PL.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-27 15:26:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-27 16:52:02 +0000
commit806be1157926f79d39530bf13f9d388dde037426 (patch)
treec35750a4f009d44fb2840c08be9db91ec3663191 /main/net-snmp/fix-Makefile-PL.patch
parentad3883c3096a1a9b3c49a1ca3638eca0615c1f30 (diff)
downloadaports-806be1157926f79d39530bf13f9d388dde037426.tar.bz2
aports-806be1157926f79d39530bf13f9d388dde037426.tar.xz
main/net-snmp: fixes for perl-5.24
Diffstat (limited to 'main/net-snmp/fix-Makefile-PL.patch')
-rw-r--r--main/net-snmp/fix-Makefile-PL.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/net-snmp/fix-Makefile-PL.patch b/main/net-snmp/fix-Makefile-PL.patch
new file mode 100644
index 0000000000..735f01447b
--- /dev/null
+++ b/main/net-snmp/fix-Makefile-PL.patch
@@ -0,0 +1,22 @@
+diff -up net-snmp-5.7.3/perl/ASN/Makefile.PL.orig net-snmp-5.7.3/perl/ASN/Makefile.PL
+--- net-snmp-5.7.3/perl/ASN/Makefile.PL.orig 2016-05-06 10:35:30.005905040 +0200
++++ net-snmp-5.7.3/perl/ASN/Makefile.PL 2016-05-06 10:35:57.518776400 +0200
+@@ -3,6 +3,7 @@ require 5;
+ use Config;
+ use Getopt::Long;
+ my $lib_version;
++my %MakeParams = ();
+
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
+diff -up net-snmp-5.7.3/perl/Makefile.PL.orig net-snmp-5.7.3/perl/Makefile.PL
+--- net-snmp-5.7.3/perl/Makefile.PL.orig 2016-05-06 10:34:38.975143641 +0200
++++ net-snmp-5.7.3/perl/Makefile.PL 2016-05-06 10:35:13.326983024 +0200
+@@ -2,6 +2,7 @@ use ExtUtils::MakeMaker;
+ use Config;
+ use Getopt::Long;
+ require 5;
++my %MakeParams = ();
+
+ %MakeParams = InitMakeParams();
+