summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-04 18:14:30 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-08-04 18:15:10 +0200
commit128f2d6377a9569158ad29a1d500d16a7b45ebd3 (patch)
treec6ff435ade024818d3ce1feced89c0e8a9ab1b37 /net-analyzer/nagios-check_rbl
parentsys-devel/autoconf: Revbump to add another perl-5.26 fix (bug #625576). (diff)
downloadgentoo-128f2d6377a9569158ad29a1d500d16a7b45ebd3.tar.gz
gentoo-128f2d6377a9569158ad29a1d500d16a7b45ebd3.tar.bz2
gentoo-128f2d6377a9569158ad29a1d500d16a7b45ebd3.zip
net-analyzer/nagios-check_rbl: Add build fix for Perl 5.26, bug 625320
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'net-analyzer/nagios-check_rbl')
-rw-r--r--net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch9
-rw-r--r--net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild2
2 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch b/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch
new file mode 100644
index 000000000000..b44ae74a0ea6
--- /dev/null
+++ b/net-analyzer/nagios-check_rbl/files/nagios-check_rbl-1.3.7-perl526.patch
@@ -0,0 +1,9 @@
+diff -ruN check_rbl-1.3.7.orig/Makefile.PL check_rbl-1.3.7/Makefile.PL
+--- check_rbl-1.3.7.orig/Makefile.PL 2015-10-24 13:06:09.000000000 -0000
++++ check_rbl-1.3.7/Makefile.PL 2017-08-04 16:10:49.881515014 -0000
+@@ -1,4 +1,5 @@
+ # Load the Module::Install bundled in ./inc/
++use lib q[.];
+ use inc::Module::Install;
+
+ # File version information:
diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild
index 726f8bfdd37d..ab79f03df135 100644
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.3.7-r1.ebuild
@@ -45,6 +45,8 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
+
src_prepare() {
default