diff options
author | tnn <tnn@pkgsrc.org> | 2007-07-18 02:47:02 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-07-18 02:47:02 +0000 |
commit | b47b3bd0436988de99c30e574fe6c75d3863c68f (patch) | |
tree | dfdd1deff80e28a71280483abbe4c17cbec01ac4 /print/ghostscript/patches | |
parent | e596389747ec3b0d36d65948270511b1b8c91b5e (diff) | |
download | pkgsrc-b47b3bd0436988de99c30e574fe6c75d3863c68f.tar.gz |
Fix broken build on HPUX
Diffstat (limited to 'print/ghostscript/patches')
-rw-r--r-- | print/ghostscript/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/print/ghostscript/patches/patch-ac b/print/ghostscript/patches/patch-ac new file mode 100644 index 00000000000..db2b9ea7e57 --- /dev/null +++ b/print/ghostscript/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.5 2007/07/18 02:47:02 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 defined (HAVE_FILE64) + file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */ + #else + file = fdopen(fildes, (char *)mode); /* still really const */ |