Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Digest-BubbleBabble/files/, dev-perl/Digest-BubbleBabble/
Date: Tue, 06 Jun 2017 21:04:43
Message-Id: 1496783000.aeeb7f01cd179337cb119b0f0f3b96b014f67252.kentnl@gentoo
1 commit: aeeb7f01cd179337cb119b0f0f3b96b014f67252
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 6 20:58:33 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 6 21:03:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeeb7f01
7
8 dev-perl/Digest-BubbleBabble: Fix '.' in @INC in 5.26 re bug #614336
9
10 Patches Makefile.PL to have '.' in it again.
11
12 Bug: https://bugs.gentoo.org/614336
13 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=120808
14 Bug: https://github.com/btrott/Digest-BubbleBabble/pull/1
15 Package-Manager: Portage-2.3.6, Repoman-2.3.2
16
17 .../Digest-BubbleBabble-0.20.0-r1.ebuild | 2 +-
18 .../files/0.02-dot-in-inc.patch | 43 ++++++++++++++++++++++
19 2 files changed, 44 insertions(+), 1 deletion(-)
20
21 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
22 index ad112ef81fa..15bff65b6e1 100644
23 --- a/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
24 +++ b/dev-perl/Digest-BubbleBabble/Digest-BubbleBabble-0.20.0-r1.ebuild
25 @@ -12,5 +12,5 @@ DESCRIPTION="Create bubble-babble fingerprints"
26 SLOT="0"
27 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 sparc x86"
28 IUSE=""
29 -
30 +PATCHES=( "${FILESDIR}/0.02-dot-in-inc.patch" ) # https://github.com/btrott/Digest-BubbleBabble/pull/1
31 SRC_TEST="do parallel"
32
33 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
34 new file mode 100644
35 index 00000000000..86c731b5324
36 --- /dev/null
37 +++ b/dev-perl/Digest-BubbleBabble/files/0.02-dot-in-inc.patch
38 @@ -0,0 +1,43 @@
39 +From 964b9ff93f1ee298f67fc37192816d63b7052c8a Mon Sep 17 00:00:00 2001
40 +From: Kent Fredric <kentfredric@×××××.com>
41 +Date: Wed, 7 Jun 2017 08:48:09 +1200
42 +Subject: [PATCH] Fix fo '.' missing from @INC in perl 5.26+ RT#120808
43 +
44 +Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=120808
45 +---
46 + Changes | 3 +++
47 + Makefile.PL | 3 ++-
48 + 2 files changed, 5 insertions(+), 1 deletion(-)
49 +
50 +diff --git a/Changes b/Changes
51 +index 54ebaf3..bed66a9 100644
52 +--- a/Changes
53 ++++ b/Changes
54 +@@ -1,5 +1,8 @@
55 + Revision history for Digest::BubbleBabble
56 +
57 ++ - Fix Makefile.PL being broken due to '.' removal from default @INC
58 ++ since Perl 5.25.11 ( RT#120808 )
59 ++
60 + 0.02 2011.03.23
61 + - Fixed a bug affecting input strings with an odd number of
62 + characters. Thanks to Ken T Takusagawa for the report.
63 +diff --git a/Makefile.PL b/Makefile.PL
64 +index af538b6..261085f 100644
65 +--- a/Makefile.PL
66 ++++ b/Makefile.PL
67 +@@ -1,3 +1,4 @@
68 ++use lib '.';
69 + use inc::Module::Install;
70 + name 'Digest-BubbleBabble';
71 + all_from 'lib/Digest/BubbleBabble.pm';
72 +@@ -9,4 +10,4 @@ use_test_base;
73 + auto_include_deps;
74 + author_tests('xt');
75 + auto_set_repository;
76 +-WriteAll;
77 +\ No newline at end of file
78 ++WriteAll;
79 +--
80 +2.13.0
81 +