OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Aug-2007 09:53:57
Branch: HEAD Handle: 2007082808535700
Modified files:
openpkg-src/ghostscript ghostscript.patch ghostscript.spec
Log:
disable not portable enough fdopen64 use
Summary:
Revision Changes Path
1.16 +12 -0 openpkg-src/ghostscript/ghostscript.patch
1.94 +1 -1 openpkg-src/ghostscript/ghostscript.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ghostscript/ghostscript.patch
============================================================================
$ cvs diff -u -r1.15 -r1.16 ghostscript.patch
--- openpkg-src/ghostscript/ghostscript.patch 3 Aug 2007 10:57:25 -0000
1.15
+++ openpkg-src/ghostscript/ghostscript.patch 28 Aug 2007 07:53:57 -0000
1.16
@@ -42,3 +42,15 @@
# ---------------------------- End of options --------------------------- #
+Index: src/gpmisc.c
+--- src/gpmisc.c.orig 2007-06-06 00:23:38 +0200
++++ src/gpmisc.c 2007-08-28 09:48:55 +0200
+@@ -93,7 +93,7 @@
+ * fdopen as (char *), rather than following the POSIX.1 standard,
+ * which defines it as (const char *). Patch this here.
+ */
+-#if defined (O_LARGEFILE)
++#if 0 /* defined (O_LARGEFILE) */
+ file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really
const */
+ #else
+ file = fdopen(fildes, (char *)mode); /* still really const */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ghostscript/ghostscript.spec
============================================================================
$ cvs diff -u -r1.93 -r1.94 ghostscript.spec
--- openpkg-src/ghostscript/ghostscript.spec 18 Aug 2007 14:58:22 -0000
1.93
+++ openpkg-src/ghostscript/ghostscript.spec 28 Aug 2007 07:53:57 -0000
1.94
@@ -42,7 +42,7 @@
Group: Postscript
License: GPL
Version: %{V_real}
-Release: 20070818
+Release: 20070828
# package options
%option with_x11 yes
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]