[pmtools] 01/03: Add patch to make pminst follow symlinks
Axel Beckert
abe at deuxchevaux.org
Fri Sep 27 22:22:36 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository pmtools.
commit 34f0a8049c49cfa2052b4893209d89087425a700
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Fri Sep 27 23:56:29 2013 +0200
Add patch to make pminst follow symlinks
The test suite fails otherwise since /usr/share/perl/5.18 is currently
a symbolic link to /usr/share/perl/5.18.1/.
---
debian/changelog | 1 +
debian/patches/pminst-should-follow-symlinks.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3c45955..b9382cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pmtools (1.51-1) UNRELEASED; urgency=low
* New upstream release
* Add patch to use English instead of Carp in POD-related tests
+ * Add patch to make pminst follow symlinks
* Really bump debhelper compat. to 9, not only the build-dependency
-- Axel Beckert <abe at debian.org> Fri, 27 Sep 2013 22:15:22 +0200
diff --git a/debian/patches/pminst-should-follow-symlinks.patch b/debian/patches/pminst-should-follow-symlinks.patch
new file mode 100644
index 0000000..578b125
--- /dev/null
+++ b/debian/patches/pminst-should-follow-symlinks.patch
@@ -0,0 +1,19 @@
+Description: At least on Debian pminst should follow symlinks
+ Otherwise it doesn't find any files below /usr/share/perl/5.18 which
+ is a symlink to /usr/share/perl/5.18.1.
+Author: Axel Beckert <abe at debian.org>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89008
+
+Index: pmtools/bin/pminst
+===================================================================
+--- pmtools.orig/bin/pminst 2013-09-27 23:37:28.000000000 +0200
++++ pmtools/bin/pminst 2013-09-27 23:38:36.000000000 +0200
+@@ -35,7 +35,7 @@
+ for $startdir (@INC) {
+ next if (!-d $startdir);
+
+- find(\&wanted, $startdir);
++ find({ wanted => \&wanted, follow => 1 }, $startdir);
+ }
+
+ sub wanted {
diff --git a/debian/patches/series b/debian/patches/series
index 9eccfd1..26e4b4e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-carp-has-no-pod-for-test-suite.patch
+pminst-should-follow-symlinks.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pmtools.git
More information about the Pkg-perl-cvs-commits
mailing list