From 8e6b4f1ed36c17ac3132ac64d2e3a047a1aa0b74 Mon Sep 17 00:00:00 2001 From: tnn Date: Thu, 9 Aug 2007 18:52:38 +0000 Subject: 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. --- print/ghostscript/patches/patch-ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print/ghostscript/patches') 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 */ -- cgit v1.2.3