pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript Fix broken build on HPUX



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4070dd6f9167
branches:  trunk
changeset: 531033:4070dd6f9167
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jul 18 02:47:02 2007 +0000

description:
Fix broken build on HPUX

diffstat:

 print/ghostscript/Makefile         |   6 +++++-
 print/ghostscript/distinfo         |   3 ++-
 print/ghostscript/patches/patch-ac |  13 +++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 970d31abf394 -r 4070dd6f9167 print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Tue Jul 17 23:43:10 2007 +0000
+++ b/print/ghostscript/Makefile        Wed Jul 18 02:47:02 2007 +0000
@@ -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_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 -r 970d31abf394 -r 4070dd6f9167 print/ghostscript/distinfo
--- a/print/ghostscript/distinfo        Tue Jul 17 23:43:10 2007 +0000
+++ b/print/ghostscript/distinfo        Wed Jul 18 02:47:02 2007 +0000
@@ -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 -r 970d31abf394 -r 4070dd6f9167 print/ghostscript/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript/patches/patch-ac        Wed Jul 18 02:47:02 2007 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index