summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorsimonb <simonb>2002-03-23 16:34:52 +0000
committersimonb <simonb>2002-03-23 16:34:52 +0000
commitef9511aab1eb51d5fc8e8f23affc1749992e1926 (patch)
tree73b620cd4e2aa2319bfcbc7d4456d789a3c950f4 /print
parent41a552447113c27d6e88a0e22f208d291a3dd3ff (diff)
downloadpkgsrc-ef9511aab1eb51d5fc8e8f23affc1749992e1926.tar.gz
Don't truncate the output of tmpnam() so that the same temporary file
names are used regardless of the process ID.
Diffstat (limited to 'print')
-rw-r--r--print/xpdf/distinfo3
-rw-r--r--print/xpdf/patches/patch-ad16
2 files changed, 18 insertions, 1 deletions
diff --git a/print/xpdf/distinfo b/print/xpdf/distinfo
index be394108638..8a3330d213c 100644
--- a/print/xpdf/distinfo
+++ b/print/xpdf/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2002/03/23 16:32:32 simonb Exp $
+$NetBSD: distinfo,v 1.6 2002/03/23 16:34:52 simonb Exp $
SHA1 (xpdf-1.00.tar.gz) = 01aae7c29a916b809bc5fc29f279b97cf4b56169
Size (xpdf-1.00.tar.gz) = 397750 bytes
SHA1 (patch-aa) = 2b1a36ce71afb4c7ad2a84ac70f46fe5ffea3687
SHA1 (patch-ab) = e8579824f1eb5517945dadf15ddf17142a075fc7
SHA1 (patch-ac) = 529f42dda29f03d742fd92b5bdedc4c1cd93d9dc
+SHA1 (patch-ad) = 087ca7aed69895182725b834f643d74b2df51cce
diff --git a/print/xpdf/patches/patch-ad b/print/xpdf/patches/patch-ad
new file mode 100644
index 00000000000..475e4801d83
--- /dev/null
+++ b/print/xpdf/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2002/03/23 16:34:54 simonb Exp $
+
+--- goo/gfile.cc.orig Sat Feb 2 10:15:45 2002
++++ goo/gfile.cc
+@@ -494,9 +494,11 @@
+ }
+ *name = new GString(s);
+ s = (*name)->getCString();
++#if 0
+ if ((p = strrchr(s, '.'))) {
+ (*name)->del(p - s, (*name)->getLength() - (p - s));
+ }
++#endif
+ (*name)->append(ext);
+ fd = open((*name)->getCString(), O_WRONLY | O_CREAT | O_EXCL, 0600);
+ } else {