diff options
author | tnn <tnn@pkgsrc.org> | 2007-08-09 18:52:38 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-08-09 18:52:38 +0000 |
commit | 8e6b4f1ed36c17ac3132ac64d2e3a047a1aa0b74 (patch) | |
tree | 1e4212ad0692aa6d9b906ad8d9d3cdd240ecd1a4 /print/ghostscript/patches | |
parent | 2005de54f69ac900be913ed4ad9a276298154c89 (diff) | |
download | pkgsrc-8e6b4f1ed36c17ac3132ac64d2e3a047a1aa0b74.tar.gz |
Don't attempt to use fdopen64 at all. It's not a standardised API and none
of the platforms we care about seem to have it. Fixes PR pkg/36757.
Diffstat (limited to 'print/ghostscript/patches')
-rw-r--r-- | print/ghostscript/patches/patch-ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/ghostscript/patches/patch-ac b/print/ghostscript/patches/patch-ac index 2680406237c..bfc29705350 100644 --- a/print/ghostscript/patches/patch-ac +++ b/print/ghostscript/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.6 2007/08/03 20:02:30 joerg Exp $ +$NetBSD: patch-ac,v 1.7 2007/08/09 18:52:38 tnn 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.6 2007/08/03 20:02:30 joerg Exp $ * which defines it as (const char *). Patch this here. */ -#if defined (O_LARGEFILE) -+#if defined (HAVE_FILE64) && !defined(_AIX) ++#if 0 file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */ #else file = fdopen(fildes, (char *)mode); /* still really const */ |