aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/netpbm/files/patch-converter-other-pstopnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/files/patch-converter-other-pstopnm.c')
-rw-r--r--graphics/netpbm/files/patch-converter-other-pstopnm.c19
1 files changed, 19 insertions, 0 deletions
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));