[libfile-nfslock-perl] 01/03: Add patch from CPAN RT to fix building without '.' in @INC.

gregor herrmann gregoa at debian.org
Sat Sep 30 13:47:46 UTC 2017


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

gregoa pushed a commit to branch master
in repository libfile-nfslock-perl.

commit a8eb52489a86c24514d4c72f3f23aa466f642fd2
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 30 15:45:13 2017 +0200

    Add patch from CPAN RT to fix building without '.' in @INC.
    
    Closes: #871731
---
 debian/patches/File-NFSLock.patch | 19 +++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/File-NFSLock.patch b/debian/patches/File-NFSLock.patch
new file mode 100644
index 0000000..6a29fa0
--- /dev/null
+++ b/debian/patches/File-NFSLock.patch
@@ -0,0 +1,19 @@
+From dddeafacc38952f5b565152f4ffe30747fbeb106 Mon Sep 17 00:00:00 2001
+From: Nicolas Rochelemagne <rochelemagne at cpanel.net>
+Date: Fri, 8 Jan 2016 12:07:32 -0600
+Subject: [PATCH] Add support for perl without . in @INC in Makefile.PL
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=120088
+Bug-Debian: https://bugs.debian.org/871731
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -30,7 +30,8 @@
+   my $block = $self->SUPER::processPL(@_);
+   # "Version:" in spec needs to match
+   # "$VERSION" from VERSION_FROM
+-  $block =~ s%(spec.PL\s*)$%$1 \$\(VERSION_FROM\)%m;
++  $block =~ s[(\$\(PERLRUNINST\)\s+File-NFSLock.spec.PL\b)][PERL_USE_UNSAFE_INC=1 $1]m;
++  $block =~ s%(spec.PL\s*)$%1 \$\(VERSION_FROM\)%m;
+   $block;
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c085be7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+File-NFSLock.patch

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



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