summaryrefslogtreecommitdiff
path: root/print/ghostscript/patches/patch-ac
blob: bfc297053504e9c052e8c349efc043679bf91534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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
@@ -93,7 +93,7 @@ gp_fopentemp_generic(const char *fname, 
      * 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
     file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */
 #else
     file = fdopen(fildes, (char *)mode); /* still really const */