﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
7037	graphviz-2.38.0 fails to build with ghostscript-9.18	Fernando de Oliveira	Fernando de Oliveira	"Error:

{{{
Making all in gs
make[3]: Entering directory '/tmp/graphviz-2.38.0/plugin/gs'
  CC       gvloadimage_gs.lo
  CC       gvplugin_gs.lo
gvloadimage_gs.c: In function 'gs_error':
gvloadimage_gs.c:75:16: error: 'e_VMerror' undeclared (first use in this function)
     if (err >= e_VMerror) 
                ^
gvloadimage_gs.c:75:16: note: each undeclared identifier is reported only once for each function it appears in
gvloadimage_gs.c:77:21: error: 'e_unregistered' undeclared (first use in this function)
     else if (err >= e_unregistered)
                     ^
gvloadimage_gs.c:79:21: error: 'e_invalidid' undeclared (first use in this function)
     else if (err >= e_invalidid)
                     ^
Makefile:690: recipe for target 'gvloadimage_gs.lo' failed
make[3]: *** [gvloadimage_gs.lo] Error 1
make[3]: Leaving directory '/tmp/graphviz-2.38.0/plugin/gs'
Makefile:531: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/graphviz-2.38.0/plugin'
Makefile:774: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/graphviz-2.38.0'
Makefile:583: recipe for target 'all' failed
make: *** [all] Error 2
}}}

The ''undeclared identifiers'' have been renamed in ghostscript-9.18's
headers.

Solution:

{{{
sed -e 's/ e_/ gs_error_/' \
    -i plugin/gs/gvloadimage_gs.c
}}}"	defect	closed	normal	7.9	BOOK	SVN	medium	fixed		
