aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-08-13 01:11:12 +0800
committerdinoex <dinoex@FreeBSD.org>2005-08-13 01:11:12 +0800
commit2788bdbdeff6119ffe06833c1eb1c301ad62d1fe (patch)
treee89a44f462620aa2568bae68aebf5e83f5650ff2 /graphics
parentb34ccb4522d5b41cda64e6dc9cd69074ca337da9 (diff)
downloadfreebsd-ports-gnome-2788bdbdeff6119ffe06833c1eb1c301ad62d1fe.tar.gz
freebsd-ports-gnome-2788bdbdeff6119ffe06833c1eb1c301ad62d1fe.tar.zst
freebsd-ports-gnome-2788bdbdeff6119ffe06833c1eb1c301ad62d1fe.zip
- Security Fix:
Secururiy: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319757 Reported by: Christian Weisgerber Approved by: portmgr (erwin)
Diffstat (limited to 'graphics')
-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));