summaryrefslogtreecommitdiffstats
path: root/source/l/netpbm/netpbm-CAN-2005-2471.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-CAN-2005-2471.patch')
-rw-r--r--source/l/netpbm/netpbm-CAN-2005-2471.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/l/netpbm/netpbm-CAN-2005-2471.patch b/source/l/netpbm/netpbm-CAN-2005-2471.patch
index 24495de17..77a3cd769 100644
--- a/source/l/netpbm/netpbm-CAN-2005-2471.patch
+++ b/source/l/netpbm/netpbm-CAN-2005-2471.patch
@@ -1,7 +1,8 @@
-diff -urNp a/converter/other/pstopnm.c b/converter/other/pstopnm.c
---- a/converter/other/pstopnm.c 2018-07-23 15:14:51.200658026 +0200
-+++ b/converter/other/pstopnm.c 2018-07-23 15:18:12.579910612 +0200
-@@ -896,11 +896,11 @@ execGhostscript(int const
+diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c
+index f534265..2ab48ab 100644
+--- a/converter/other/pstopnm.c
++++ b/converter/other/pstopnm.c
+@@ -896,11 +896,11 @@ execGhostscript(int const inputPipeFd,
ghostscriptProg, arg0,
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
"-q", "-dNOPAUSE",
@@ -9,8 +10,9 @@ diff -urNp a/converter/other/pstopnm.c b/converter/other/pstopnm.c
+ "-dPARANOIDSAFER", "-");
}
- execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
-- "-dNOPAUSE", "-dSAFER", "-", NULL);
+- execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt,
+- textalphabitsopt, "-q", "-dNOPAUSE", "-dSAFER", "-", NULL);
++ execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
+ "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",