diff options
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL')
-rw-r--r-- | Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL index e595d1e3348..241b9602465 100644 --- a/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL +++ b/Build/source/utils/psutils/psutils-1.17-PATCHES/patch-02-PERL @@ -12,14 +12,17 @@ diff -ur psutils-1.17.orig/fixmacps.man psutils-1.17/fixmacps.man Copyright (C) Angus J. C. Duggan 1991-1995 diff -ur psutils-1.17.orig/fixmacps.pl psutils-1.17/fixmacps.pl --- psutils-1.17.orig/fixmacps.pl 1997-03-11 23:52:54.000000000 +0100 -+++ psutils-1.17/fixmacps.pl 2006-01-17 22:16:42.000000000 +0100 -@@ -5,7 +5,8 @@ ++++ psutils-1.17/fixmacps.pl 2010-12-13 15:04:50.000000000 +0100 +@@ -4,8 +4,11 @@ + # Copyright (C) Angus J. C. Duggan 1991-1995 # See file LICENSE for details. ++use File::Basename; ++ $line = 0; # keep line count -$dir = "@INCLUDE@"; -+$predir = `kpsewhich -progname=psutils md71_0.ps`; -+$dir=`basename $predir`; ++$predir = `kpsewhich -progname=dvips -format="other text files" md71_0.ps`; ++$dir=`dirname $predir`; $prefix = "md"; $default = "md71_0.ps"; |