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
This commit is contained in:
Kent Fredric
2017-06-07 08:58:33 +12:00
parent 434397da0d
commit aeeb7f01cd
2 changed files with 44 additions and 1 deletions

View File

@@ -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"

View File

@@ -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