[libgraphics-libplot-perl] 01/07: Add patch to make tests pass without '.' in @INC.

gregor herrmann gregoa at debian.org
Sat Sep 30 14:08:38 UTC 2017


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

gregoa pushed a commit to branch master
in repository libgraphics-libplot-perl.

commit 317440c467080554d1291432a120041750086db2
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 30 15:57:33 2017 +0200

    Add patch to make tests pass without '.' in @INC.
    
    Closes: #871732
---
 debian/patches/no-dot-in-inc.patch | 19 +++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/no-dot-in-inc.patch b/debian/patches/no-dot-in-inc.patch
new file mode 100644
index 0000000..d3e3a14
--- /dev/null
+++ b/debian/patches/no-dot-in-inc.patch
@@ -0,0 +1,19 @@
+Description: fix test.pl after removal of '.' from @INC
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/871732
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-09-30
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=123167
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123167
+
+--- a/test.pl
++++ b/test.pl
+@@ -32,7 +32,7 @@
+     $test ( qw ( spiralbox ccurve rothello spiraltext movingeye ) ) {
+ 	print "trying $test\n";
+ 	pl_parampl ("VANISH_ON_DELETE", "no");  # reset this each time
+-	require "examples/$test";
++	require "./examples/$test";
+         print "ok $i\n";
+ 	$i++;
+     }
diff --git a/debian/patches/series b/debian/patches/series
index 155ab5d..ac1d35d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 doc-location.patch
+no-dot-in-inc.patch

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



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