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 | |
parent | e596389747ec3b0d36d65948270511b1b8c91b5e (diff) | |
download | pkgsrc-b47b3bd0436988de99c30e574fe6c75d3863c68f.tar.gz |
Fix broken build on HPUX
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript/Makefile | 6 | ||||
-rw-r--r-- | print/ghostscript/distinfo | 3 | ||||
-rw-r--r-- | print/ghostscript/patches/patch-ac | 13 |
3 files changed, 20 insertions, 2 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile index fff1020a7a2..7028cd9069f 100644 --- a/print/ghostscript/Makefile +++ b/print/ghostscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2007/07/17 20:58:09 joerg Exp $ +# $NetBSD: Makefile,v 1.32 2007/07/18 02:47:02 tnn Exp $ DISTNAME= ghostscript-8.57 CATEGORIES= print @@ -36,6 +36,10 @@ SUBST_MESSAGE.resdir= Fixing resource directory path SUBST_FILES.resdir= lib/gs_res.ps SUBST_SED.resdir= -e "s|/Resource/|${GS_RESOURCEDIR}/|g" +.if ${OPSYS} == "HPUX" +CONFIGURE_ENV+= ac_cv_func_fopen64=no +.endif + post-extract: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/obj diff --git a/print/ghostscript/distinfo b/print/ghostscript/distinfo index 44b634ac770..dfd17df2206 100644 --- a/print/ghostscript/distinfo +++ b/print/ghostscript/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.8 2007/07/17 18:53:55 drochner Exp $ +$NetBSD: distinfo,v 1.9 2007/07/18 02:47:02 tnn 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-ad) = ed75f35c19ae2b19bc8902522b5d4828dfa278fe 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 */ |