Bug 180996 - app-text/ghostscript-gnu: font search path not correctly set
Bug#: 180996 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: plasm@roo.me.uk
Component: Ebuilds
URL: 
Summary: app-text/ghostscript-gnu: font search path not correctly set
Keywords:  
Status Whiteboard: 
Opened: 2007-06-05 19:57 0000
Description:   Opened: 2007-06-05 19:57 0000
There is a bug in the sed call in the ebuild, it does not modify the correct
Makefile and so Ghostscript is built with the wrong font search path:
/usr/share/ghostscript/fonts instead of /usr/share/fonts/default/ghostscript.
So documents without embedded fonts fail processing.

It should be noted that initially Makefile.in is symlinked to src/Makefile.in.
However, the behaviour of sed if --follow-symlinks is not specified is to break
the link when -i is also used.

Attached patch resolves this issue. This probably affects ghostscript-gpl too
but I have not confirmed this.

------- Comment #1 From Tim Yamin 2007-06-05 19:57:35 0000 -------
Created an attachment (id=121270) [details]
Patch

------- Comment #2 From Stefan Schweizer 2007-06-05 20:06:25 0000 -------
thank you, fixed