25837225 build failing for other components (gutenprint, graphviz) post GS uprev to 9.20
authorsaurabh.vyas@oracle.com
Tue, 11 Apr 2017 20:19:32 -0700
changeset 7859 d828b72ad743
parent 7858 9f73487af259
child 7860 8991c11f87b1
25837225 build failing for other components (gutenprint, graphviz) post GS uprev to 9.20
components/graphviz/patches/gerrors-defs.patch
components/gutenprint/gutenprint.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/graphviz/patches/gerrors-defs.patch	Tue Apr 11 20:19:32 2017 -0700
@@ -0,0 +1,24 @@
+The patch has been taken from community and fixes build issue of
+graphviz post ghostscript upgrade to 9.18
+The details can be found in the following location
+http://www.graphviz.org/mantisbt/view.php?id=2604
+
+diff --git a/plugin/gs/gvloadimage_gs.c b/plugin/gs/gvloadimage_gs.c
+index 4ed9b71..53be600 100644
+--- a/plugin/gs/gvloadimage_gs.c
++++ b/plugin/gs/gvloadimage_gs.c
[email protected]@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const char *name, const char *funstr, int err)
+ 
+     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";
--- a/components/gutenprint/gutenprint.p5m	Tue Apr 11 06:59:37 2017 -0700
+++ b/components/gutenprint/gutenprint.p5m	Tue Apr 11 20:19:32 2017 -0700
@@ -37,7 +37,6 @@
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 file path=usr/bin/cups-calibrate
 file path=usr/bin/escputil
-file path=usr/bin/ijsgutenprint.5.2
 file path=usr/bin/testpattern
 file path=usr/include/gutenprint/array.h
 file path=usr/include/gutenprint/bit-ops.h
@@ -379,7 +378,6 @@
 file path=usr/share/locale/sv/LC_MESSAGES/gutenprint.mo
 file path=usr/share/locale/zh_TW/LC_MESSAGES/gutenprint.mo
 file path=usr/share/man/man1/escputil.1
-file path=usr/share/man/man1/ijsgutenprint.1
 file path=usr/share/man/man8/cups-calibrate.8
 file path=usr/share/man/man8/cups-genppd.8
 file path=usr/share/man/man8/cups-genppdupdate.8