commit:     fd9d97331d3403333a1b51a17916b73afa549b3b
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 15:24:34 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 15:25:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9d9733

net-analyzer/munin: Add build fix for Perl 5.26, bug 625318

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 .../munin/files/munin-2.0.33-perl526.patch         | 26 ++++++++++++++++++++++
 net-analyzer/munin/munin-2.0.33-r1.ebuild          |  1 +
 2 files changed, 27 insertions(+)

diff --git a/net-analyzer/munin/files/munin-2.0.33-perl526.patch 
b/net-analyzer/munin/files/munin-2.0.33-perl526.patch
new file mode 100644
index 00000000000..d3cabb9906c
--- /dev/null
+++ b/net-analyzer/munin/files/munin-2.0.33-perl526.patch
@@ -0,0 +1,26 @@
+
+
+diff -ruN munin-2.0.33.orig/master/Build.PL munin-2.0.33/master/Build.PL
+--- munin-2.0.33.orig/master/Build.PL  2017-03-03 00:02:39.000000000 -0000
++++ munin-2.0.33/master/Build.PL       2017-08-05 15:06:55.799816839 -0000
+@@ -1,3 +1,4 @@
++use lib q[.];
+ use MasterBuilder;
+ 
+ use warnings;
+diff -ruN munin-2.0.33.orig/node/Build.PL munin-2.0.33/node/Build.PL
+--- munin-2.0.33.orig/node/Build.PL    2017-03-03 00:02:39.000000000 -0000
++++ munin-2.0.33/node/Build.PL 2017-08-05 15:11:07.689824612 -0000
+@@ -1,3 +1,4 @@
++use lib q[.];
+ use NodeBuilder;
+ 
+ use warnings;
+diff -ruN munin-2.0.33.orig/plugins/Build.PL munin-2.0.33/plugins/Build.PL
+--- munin-2.0.33.orig/plugins/Build.PL 2017-03-03 00:02:39.000000000 -0000
++++ munin-2.0.33/plugins/Build.PL      2017-08-05 15:13:57.056168401 -0000
+@@ -1,3 +1,4 @@
++use lib q[.];
+ use PluginsBuilder;
+ 
+ use warnings;

diff --git a/net-analyzer/munin/munin-2.0.33-r1.ebuild 
b/net-analyzer/munin/munin-2.0.33-r1.ebuild
index 0dcf612bd59..3c604180b37 100644
--- a/net-analyzer/munin/munin-2.0.33-r1.ebuild
+++ b/net-analyzer/munin/munin-2.0.33-r1.ebuild
@@ -117,6 +117,7 @@ pkg_setup() {
 
 src_prepare() {
        epatch "${WORKDIR}"/patches/*.patch
+       eapply "${FILESDIR}/${P}"-perl526.patch
 
        eapply_user
 

Reply via email to