# HG changeset patch # User saurabh.vyas@oracle.com # Date 1491967172 25200 # Node ID d828b72ad743ad4fb31d9f6cff461e0b814c217c # Parent 9f73487af25984e2480a236d0fd51eca8628c259 25837225 build failing for other components (gutenprint, graphviz) post GS uprev to 9.20 diff -r 9f73487af259 -r d828b72ad743 components/graphviz/patches/gerrors-defs.patch --- /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 +@@ -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"; diff -r 9f73487af259 -r d828b72ad743 components/gutenprint/gutenprint.p5m --- 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