summaryrefslogtreecommitdiff
path: root/print/ghostscript/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript/patches/patch-an')
-rw-r--r--print/ghostscript/patches/patch-an16
1 files changed, 16 insertions, 0 deletions
diff --git a/print/ghostscript/patches/patch-an b/print/ghostscript/patches/patch-an
new file mode 100644
index 00000000000..daae9289d37
--- /dev/null
+++ b/print/ghostscript/patches/patch-an
@@ -0,0 +1,16 @@
+$NetBSD: patch-an,v 1.3 2010/04/09 19:39:06 drochner Exp $
+
+--- psi/imainarg.c.orig 2009-12-08 06:31:51.000000000 +0000
++++ psi/imainarg.c
+@@ -194,6 +194,11 @@ gs_main_init_with_args(gs_main_instance
+ return e_Fatal;
+ }
+ }
++
++ code = gs_main_init1(minst);
++ if (code < 0)
++ return code;
++
+ while ((arg = arg_next(&args, &code)) != 0) {
+ switch (*arg) {
+ case '-':