aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-08-12 17:11:12 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-08-12 17:11:12 +0000
commite8701c154af65287faaebd6e03f2c27bde3dc4d6 (patch)
treeaa53434047ebe4c1d2f7dcc0596fc31e4c113a63 /graphics/netpbm
parentc1bc774e4bba24ded0f8e1b8c0aac672f8132ee3 (diff)
downloadports-e8701c154af65287faaebd6e03f2c27bde3dc4d6.tar.gz
ports-e8701c154af65287faaebd6e03f2c27bde3dc4d6.zip
Notes
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile1
-rw-r--r--graphics/netpbm/files/patch-converter-other-pstopnm.c19
2 files changed, 20 insertions, 0 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index c3eab7d65271..6c2be8f7ccb6 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netpbm
PORTVERSION= 10.26.12
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/netpbm/files/patch-converter-other-pstopnm.c b/graphics/netpbm/files/patch-converter-other-pstopnm.c
new file mode 100644
index 000000000000..23626cd1a634
--- /dev/null
+++ b/graphics/netpbm/files/patch-converter-other-pstopnm.c
@@ -0,0 +1,19 @@
+--- converter/other/pstopnm.c.orig Wed Jun 23 04:22:33 2004
++++ converter/other/pstopnm.c Fri Aug 12 07:57:41 2005
+@@ -702,13 +702,13 @@
+
+ if (verbose) {
+ pm_message("execing '%s' with args '%s' (arg 0), "
+- "'%s', '%s', '%s', '%s', '%s', '%s', '%s'",
++ "'%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s",
+ ghostscriptProg, arg0,
+- deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-");
++ deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-dSAFER", "-");
+ }
+
+ execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
+- "-dNOPAUSE", "-", NULL);
++ "-dNOPAUSE", "-dSAFER", "-", NULL);
+
+ pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
+ ghostscriptProg, errno, strerror(errno));