[libcrypt-twofish-perl] 01/04: Add patch from CPAN RT to fix build without '.' in @INC.

gregor herrmann gregoa at debian.org
Sat Sep 30 14:51:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libcrypt-twofish-perl.

commit 02775c7d7ecca2246a79d1817611812b56c587f3
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 30 16:47:15 2017 +0200

    Add patch from CPAN RT to fix build without '.' in @INC.
    
    Closes: #871804
---
 .../0001-Fix-tab-tables.pl-for-Perl-5.26.patch     | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/0001-Fix-tab-tables.pl-for-Perl-5.26.patch b/debian/patches/0001-Fix-tab-tables.pl-for-Perl-5.26.patch
new file mode 100644
index 0000000..2da2871
--- /dev/null
+++ b/debian/patches/0001-Fix-tab-tables.pl-for-Perl-5.26.patch
@@ -0,0 +1,34 @@
+From 0906d6c153b3bedad2a91a19e8441b9633070e10 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric at gmail.com>
+Date: Sun, 11 Jun 2017 15:29:53 +1200
+Subject: [PATCH] Fix tab/tables.pl for Perl 5.26
+
+Removal of "." from @INC means require $PATH no longer ever assumes
+a path relative to ".", and instead must be explicitly stated with a
+leading "./"
+
+Fixes RT#120087
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120087
+Bug-Debian: https://bugs.debian.org/871804
+
+---
+ tab/tables.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tab/tables.pl b/tab/tables.pl
+index 2aa0c66..7bed411 100644
+--- a/tab/tables.pl
++++ b/tab/tables.pl
+@@ -3,7 +3,7 @@
+ # Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
+ 
+ use strict;
+-require 'tab/misc.pl';
++require './tab/misc.pl';
+ 
+ my ($qtab, $mtab) = ([], []);
+ 
+-- 
+2.13.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0daa88f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-tab-tables.pl-for-Perl-5.26.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-twofish-perl.git



More information about the Pkg-perl-cvs-commits mailing list