summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutils-1.17-PATCHES
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-10 11:21:15 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-10 11:21:15 +0000
commit88bfac529169e4b406b23fbd2fb6a0843bf1a150 (patch)
treef6814c2cb79d559953d732b93e4d0447391828a8 /Build/source/utils/psutils/psutils-1.17-PATCHES
parent7c2ab63c28e352e1449c8e95589ec0fa7f9b94d7 (diff)
install linked perl scripts
git-svn-id: svn://tug.org/texlive/trunk@21005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.17-PATCHES')
-rw-r--r--Build/source/utils/psutils/psutils-1.17-PATCHES/ChangeLog7
-rw-r--r--Build/source/utils/psutils/psutils-1.17-PATCHES/patch-07-TEMPDIR6
-rw-r--r--Build/source/utils/psutils/psutils-1.17-PATCHES/patch-09-PERL41
3 files changed, 51 insertions, 3 deletions
diff --git a/Build/source/utils/psutils/psutils-1.17-PATCHES/ChangeLog b/Build/source/utils/psutils/psutils-1.17-PATCHES/ChangeLog
index 4161bef5a23..c699b08a7ef 100644
--- a/Build/source/utils/psutils/psutils-1.17-PATCHES/ChangeLog
+++ b/Build/source/utils/psutils/psutils-1.17-PATCHES/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-09 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-07-TEMPDIR: Fix broken perl syntax.
+ * patch-09-PERL (new): Avoid problems with Akira's perl.
+
+ Mail from Akira Sat, 08 Jan 2011 14:43:53.
+
2010-12-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* patch-07-TEMPDIR (new): Honor $TMPDIR, $TEMP, and $TMP.
diff --git a/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-07-TEMPDIR b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-07-TEMPDIR
index 5ce0d3177fe..b71a2f76284 100644
--- a/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-07-TEMPDIR
+++ b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-07-TEMPDIR
@@ -1,13 +1,13 @@
diff -ur psutils-1.17.orig/extractres.pl psutils-1.17/extractres.pl
--- psutils-1.17.orig/extractres.pl 1997-03-11 23:52:53.000000000 +0100
-+++ psutils-1.17/extractres.pl 2010-12-20 20:15:37.000000000 +0100
++++ psutils-1.17/extractres.pl 2011-01-09 17:38:03.000000000 +0100
@@ -27,6 +27,10 @@
if (defined($ENV{TMPDIR})) { # set body file name
$body = "$ENV{TMPDIR}/body$$.ps";
-+elsif (defined($ENV{TEMP})) {
++} elsif (defined($ENV{TEMP})) {
+ $body = "$ENV{TEMP}/body$$.ps";
-+elsif (defined($ENV{TMP})) {
++} elsif (defined($ENV{TMP})) {
+ $body = "$ENV{TMP}/body$$.ps";
} else {
$body = "body$$.ps";
diff --git a/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-09-PERL b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-09-PERL
new file mode 100644
index 00000000000..f184f3712e5
--- /dev/null
+++ b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-09-PERL
@@ -0,0 +1,41 @@
+ Required for some perl implementations.
+
+diff -ur psutils-1.17.orig/extractres.pl psutils-1.17/extractres.pl
+--- psutils-1.17.orig/extractres.pl 2011-01-09 17:38:03.000000000 +0100
++++ psutils-1.17/extractres.pl 2011-01-09 17:47:53.000000000 +0100
+@@ -4,7 +4,8 @@
+ # Copyright (C) Angus J. C. Duggan 1991-1995
+ # See file LICENSE for details.
+
+-$prog = ($0 =~ s=.*/==);
++$0 =~ s=.*/==;
++$prog = $0;
+
+ %resources = (); # list of resources included
+ %merge = (); # list of resources extracted this time
+diff -ur psutils-1.17.orig/includeres.pl psutils-1.17/includeres.pl
+--- psutils-1.17.orig/includeres.pl 2010-12-20 20:15:37.000000000 +0100
++++ psutils-1.17/includeres.pl 2011-01-09 17:47:53.000000000 +0100
+@@ -4,7 +4,8 @@
+ # Copyright (C) Angus J. C. Duggan 1991-1995
+ # See file LICENSE for details.
+
+-$prog = ($0 =~ s=.*/==);
++$0 =~ s=.*/==;
++$prog = $0;
+
+ %extn = ("font", ".pfa", "file", ".ps", "procset", ".ps", # resource extns
+ "pattern", ".pat", "form", ".frm", "encoding", ".enc");
+diff -ur psutils-1.17.orig/psmerge.pl psutils-1.17/psmerge.pl
+--- psutils-1.17.orig/psmerge.pl 1997-03-11 23:53:02.000000000 +0100
++++ psutils-1.17/psmerge.pl 2011-01-09 17:47:53.000000000 +0100
+@@ -5,7 +5,8 @@
+ # Copyright (C) Angus J. C. Duggan 1991-1995
+ # See file LICENSE for details.
+
+-$prog = ($0 =~ s=.*/==);
++$0 =~ s=.*/==;
++$prog = $0;
+
+ while ($ARGV[0] =~ /^-/) {
+ $_ = shift;