summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-07 08:58:33 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-07 09:03:20 +1200
commitaeeb7f01cd179337cb119b0f0f3b96b014f67252 (patch)
tree315952d1878f165e771921faf41554df23178181 /dev-perl/Digest-BubbleBabble
parentsys-kernel/pf-sources: version bump to 4.11_p4 (diff)
downloadgentoo-aeeb7f01cd179337cb119b0f0f3b96b014f67252.tar.gz
gentoo-aeeb7f01cd179337cb119b0f0f3b96b014f67252.tar.bz2
gentoo-aeeb7f01cd179337cb119b0f0f3b96b014f67252.zip
dev-perl/Digest-BubbleBabble: Fix '.' in @INC in 5.26 re bug #614336
Patches Makefile.PL to have '.' in it again. Bug: https://bugs.gentoo.org/614336 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=120808 Bug: https://github.com/btrott/Digest-BubbleBabble/pull/1 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Digest-BubbleBabble')
-rw-r--r--dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild2
-rw-r--r--dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch43
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
index ad112ef81fa6..15bff65b6e1f 100644
--- a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
+++ b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
@@ -12,5 +12,5 @@ DESCRIPTION="Create bubble-babble fingerprints"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 sparc x86"
IUSE=""
-
+PATCHES=( "${FILESDIR}/0.02-dot-in-inc.patch" ) # https://github.com/btrott/Digest-BubbleBabble/pull/1
SRC_TEST="do parallel"
diff --git a/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch b/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch
new file mode 100644
index 000000000000..86c731b53245
--- /dev/null
+++ b/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch
@@ -0,0 +1,43 @@
+From 964b9ff93f1ee298f67fc37192816d63b7052c8a Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Wed, 7 Jun 2017 08:48:09 +1200
+Subject: [PATCH] Fix fo '.' missing from @INC in perl 5.26+ RT#120808
+
+Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120808
+---
+ Changes | 3 +++
+ Makefile.PL | 3 ++-
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/Changes b/Changes
+index 54ebaf3..bed66a9 100644
+--- a/Changes
++++ b/Changes
+@@ -1,5 +1,8 @@
+ Revision history for Digest::BubbleBabble
+
++ - Fix Makefile.PL being broken due to '.' removal from default @INC
++ since Perl 5.25.11 ( RT#120808 )
++
+ 0.02 2011.03.23
+ - Fixed a bug affecting input strings with an odd number of
+ characters. Thanks to Ken T Takusagawa for the report.
+diff --git a/Makefile.PL b/Makefile.PL
+index af538b6..261085f 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+ name 'Digest-BubbleBabble';
+ all_from 'lib/Digest/BubbleBabble.pm';
+@@ -9,4 +10,4 @@ use_test_base;
+ auto_include_deps;
+ author_tests('xt');
+ auto_set_repository;
+-WriteAll;
+\ No newline at end of file
++WriteAll;
+--
+2.13.0
+