Current ghostscript fails to build on sparc64-solaris9 due to a bogus reference to fdopen64().
This problem has also been reported for Debian: http://lists.debian.org/debian-printing/2007/06/msg00068.html --- ghostscript.patch 2007/08/27 13:24:37 1.1 +++ ghostscript.patch 2007/08/27 14:09:48 @@ -42,3 +42,22 @@ # ---------------------------- End of options --------------------------- # +Index: src/gpmisc.c +--- src/gpmisc.c.orig 2007/08/27 13:24:51 1.1 ++++ src/gpmisc.c 2007/08/27 13:26:43 +@@ -93,11 +93,15 @@ + * fdopen as (char *), rather than following the POSIX.1 standard, + * which defines it as (const char *). Patch this here. + */ ++/* OpenPKG -- disable fishy DEC VMS C compiler workaround ++ This does not compile on sparc64-solaris9: have O_LARGEFILE but no fdopen64(). + #if defined (O_LARGEFILE) + file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */ + #else + file = fdopen(fildes, (char *)mode); /* still really const */ + #endif ++ */ ++ file = fdopen(fildes, mode); + if (file == 0) + close(fildes); + return file; -- Michael Diers | Software Developer | http://www.elego.de/ ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List [email protected]
