commit:     aeeb7f01cd179337cb119b0f0f3b96b014f67252
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  6 20:58:33 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Jun  6 21:03:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeeb7f01

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

 .../Digest-BubbleBabble-0.20.0-r1.ebuild           |  2 +-
 .../files/0.02-dot-in-inc.patch                    | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)

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 ad112ef81fa..15bff65b6e1 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 00000000000..86c731b5324
--- /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 <[email protected]>
+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
+

Reply via email to