diff options
Diffstat (limited to '')
-rw-r--r-- | graphics/xpdf/files/patch-ab | 27 | ||||
-rw-r--r-- | japanese/xpdf/Makefile | 2 |
2 files changed, 1 insertions, 28 deletions
diff --git a/graphics/xpdf/files/patch-ab b/graphics/xpdf/files/patch-ab deleted file mode 100644 index 097cc6faa99f..000000000000 --- a/graphics/xpdf/files/patch-ab +++ /dev/null @@ -1,27 +0,0 @@ ---- goo/gfile.cc.orig Fri Feb 1 15:15:45 2002 -+++ goo/gfile.cc Sun Feb 10 17:42:52 2002 -@@ -489,6 +489,16 @@ - int fd; - - if (ext) { -+# if HAVE_MKSTEMPS -+ if ((s = getenv("TMPDIR"))) { -+ *name = new GString(s); -+ } else { -+ *name = new GString("/tmp"); -+ } -+ (*name)->append("/XXXXXX"); -+ (*name)->append(ext); -+ fd = mkstemps((*name)->getCString(), strlen(ext)); -+# else - if (!(s = tmpnam(NULL))) { - return gFalse; - } -@@ -499,6 +509,7 @@ - } - (*name)->append(ext); - fd = open((*name)->getCString(), O_WRONLY | O_CREAT | O_EXCL, 0600); -+# endif - } else { - #if HAVE_MKSTEMP - if ((s = getenv("TMPDIR"))) { diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile index e4451b2121d1..1350c764170e 100644 --- a/japanese/xpdf/Makefile +++ b/japanese/xpdf/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xpdf -PORTVERSION= 1.00 +PORTVERSION= 1.01 CATEGORIES= japanese MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ DISTNAME= xpdf-japanese |