summaryrefslogtreecommitdiff
path: root/dev-perl/PGPLOT/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/PGPLOT/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/PGPLOT/files')
-rw-r--r--dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch25
-rw-r--r--dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch30
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch b/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch
new file mode 100644
index 000000000000..b05067deeee5
--- /dev/null
+++ b/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch
@@ -0,0 +1,25 @@
+From 6d7ee026a19e889cbadbdaf9134588edf52e22c2 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 27 Dec 2017 13:23:26 +1300
+Subject: Fix test skips without '.' in @INC on Perl 5.25.7+
+
+---
+ test.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test.pl b/test.pl
+index d9a787c..d1b75ca 100755
+--- a/test.pl
++++ b/test.pl
+@@ -35,7 +35,7 @@ foreach $jjj (1..12) {
+
+ print "============== Running test$jjj.p ==============\n";
+ %@ = (); # Clear error status
+- do "test$jjj.p";
++ do "./test$jjj.p";
+ warn $@ if $@; # Report any error detected
+ if($dev eq '/PNG' && $^O =~ /mswin32/i) {
+ system("ren pgplot.png pgplot_$jjj.png");
+--
+2.15.1
+
diff --git a/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch b/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch
new file mode 100644
index 000000000000..b5db1d53cf8a
--- /dev/null
+++ b/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch
@@ -0,0 +1,30 @@
+From 39201312abf108ad5af4ff304484379154a237f1 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 27 Dec 2017 13:32:01 +1300
+Subject: Use NULL render device
+
+This absolves us from needing X11 for testing, while allowing
+explitly testing via X11 possible, including interactively if need be
+---
+ test.pl | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test.pl b/test.pl
+index d1b75ca..95f7c25 100755
+--- a/test.pl
++++ b/test.pl
+@@ -22,9 +22,9 @@ else {$note = ''}
+ if ($ENV{'PGPLOT_DEV'}) {
+ $dev = $ENV{'PGPLOT_DEV'};
+ } else {
+-print "Default Device for plot tests [recommend /XSERVE] ? $note ";
++print "Default Device for plot tests [recommend /NULL] ? $note ";
+ $dev = <STDIN>; chomp $dev;
+-$dev = "/XSERVE" unless $dev=~/\w/;
++$dev = "/NULL" unless $dev=~/\w/;
+ }
+
+ if($dev eq '/PNG' && $^O =~ /mswin32/i) {system "del /F /Q *.png"};
+--
+2.15.1
+