diff options
Diffstat (limited to 'app-text/a2ps/files/a2ps-4.13c-psmandup.diff')
-rw-r--r-- | app-text/a2ps/files/a2ps-4.13c-psmandup.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-text/a2ps/files/a2ps-4.13c-psmandup.diff b/app-text/a2ps/files/a2ps-4.13c-psmandup.diff new file mode 100644 index 0000000..67f2fab --- /dev/null +++ b/app-text/a2ps/files/a2ps-4.13c-psmandup.diff @@ -0,0 +1,19 @@ +--- contrib/psmandup.in.orig 2004-12-20 00:16:07.000000000 +0100 ++++ contrib/psmandup.in 2004-12-20 00:16:39.000000000 +0100 +@@ -36,7 +36,7 @@ + message= + psselect=${PSSELECT:-psselect} + psset=${PSSET:-psset} +-tmpdir=/tmp/$program.$$ ++tmpdir=`mktemp -d -t fixps.XXXXXX` || { echo "$program: Cannot create temporary dir!" >&2 ; exit 1; } + + # These two must be kept in synch. They are opposed. + verbose=echo +@@ -185,7 +185,6 @@ + trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15 + fi + +-mkdir $tmpdir + + # If printing from stdin, save into a tmp file + if test $file = '-'; then |