]> git.pld-linux.org Git - packages/graphviz.git/commitdiff
patch missing in previous commit auto/th/graphviz-2.38.0-18
authorJan Palus <atler@pld-linux.org>
Mon, 4 Jan 2016 22:30:05 +0000 (23:30 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 4 Jan 2016 22:30:05 +0000 (23:30 +0100)
ghostscript918.patch [new file with mode: 0644]

diff --git a/ghostscript918.patch b/ghostscript918.patch
new file mode 100644 (file)
index 0000000..189c513
--- /dev/null
@@ -0,0 +1,18 @@
+diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
+--- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c    2014-04-13 23:40:25.000000000 +0300
++++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c 2015-11-11 00:08:32.916123704 +0200
+@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
+     assert (err < 0);
+-    if (err >= e_VMerror) 
++    if (err >= gs_error_VMerror)
+       errsrc = "PostScript Level 1"; 
+-    else if (err >= e_unregistered)
++    else if (err >= gs_error_unregistered)
+       errsrc = "PostScript Level 2";
+-    else if (err >= e_invalidid)
++    else if (err >= gs_error_invalidid)
+       errsrc = "DPS error";
+     else
+       errsrc = "Ghostscript internal error";
This page took 0.204285 seconds and 4 git commands to generate.