Don't use fdopen64 on AIX.
This commit is contained in:
parent
e4088553a8
commit
71f9cb9f9e
2 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.9 2007/07/18 02:47:02 tnn Exp $
|
||||
$NetBSD: distinfo,v 1.10 2007/08/03 20:02:30 joerg Exp $
|
||||
|
||||
SHA1 (ghostscript-8.57.tar.bz2) = 17975b561a05b036fe06c96e8efdc512b9960062
|
||||
RMD160 (ghostscript-8.57.tar.bz2) = 034331d9713cb551e1081c6bd53dbe4c983c2908
|
||||
Size (ghostscript-8.57.tar.bz2) = 11934408 bytes
|
||||
SHA1 (patch-aa) = 9ac0ae294042e69c41fc8579e71971ad57656a8b
|
||||
SHA1 (patch-ab) = 2477242c4c5f6b6feaaa217deb1aa37485f2fac5
|
||||
SHA1 (patch-ac) = 932a140a20066afadccb8df2a0f6334a4885756b
|
||||
SHA1 (patch-ac) = f13cea6787a848b637a44d1e8e15507236d0d659
|
||||
SHA1 (patch-ad) = ed75f35c19ae2b19bc8902522b5d4828dfa278fe
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-ac,v 1.5 2007/07/18 02:47:02 tnn Exp $
|
||||
$NetBSD: patch-ac,v 1.6 2007/08/03 20:02:30 joerg Exp $
|
||||
|
||||
--- src/gpmisc.c.orig 2007-07-18 04:37:50.000000000 +0200
|
||||
+++ src/gpmisc.c
|
||||
|
@ -7,7 +7,7 @@ $NetBSD: patch-ac,v 1.5 2007/07/18 02:47:02 tnn Exp $
|
|||
* which defines it as (const char *). Patch this here.
|
||||
*/
|
||||
-#if defined (O_LARGEFILE)
|
||||
+#if defined (HAVE_FILE64)
|
||||
+#if defined (HAVE_FILE64) && !defined(_AIX)
|
||||
file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */
|
||||
#else
|
||||
file = fdopen(fildes, (char *)mode); /* still really const */
|
||||
|
|
Loading…
Reference in a new issue