diff options
Diffstat (limited to 'app-text/a2ps/files/a2ps-4.13c-fixps.patch')
-rw-r--r-- | app-text/a2ps/files/a2ps-4.13c-fixps.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-text/a2ps/files/a2ps-4.13c-fixps.patch b/app-text/a2ps/files/a2ps-4.13c-fixps.patch new file mode 100644 index 0000000..13b196f --- /dev/null +++ b/app-text/a2ps/files/a2ps-4.13c-fixps.patch @@ -0,0 +1,19 @@ +--- contrib/fixps.in.orig 2004-12-20 00:11:40.000000000 +0100 ++++ contrib/fixps.in 2004-12-20 00:14:12.000000000 +0100 +@@ -38,7 +38,7 @@ + run_gs=0 + # What action to perform: fixps, cat, check, and gs + task=fixps +-tmpdir=/tmp/$program.$$ ++tmpdir=`mktemp -d -t fixps.XXXXXX` || { echo "$program: Cannot create temporary dir!" >&2 ; exit 1; } + verbose=echo + + # The version/usage strings +@@ -191,7 +191,6 @@ + trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15 + fi + +-mkdir $tmpdir + fixps_sed=$tmpdir/fixps.sed + + # If printing from stdin, save into a tmp file |