pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript fix a build problem with native xorg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/971287e65515
branches:  trunk
changeset: 554368:971287e65515
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Feb 13 15:31:35 2009 +0000

description:
fix a build problem with native xorg reported by Matthias Scheler,
being here, quell a printf format compiler warning

diffstat:

 print/ghostscript/Makefile         |   4 +++-
 print/ghostscript/distinfo         |   4 +++-
 print/ghostscript/patches/patch-ah |  13 +++++++++++++
 print/ghostscript/patches/patch-ai |  13 +++++++++++++
 4 files changed, 32 insertions(+), 2 deletions(-)

diffs (67 lines):

diff -r 6674c52d84c8 -r 971287e65515 print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Fri Feb 13 15:28:46 2009 +0000
+++ b/print/ghostscript/Makefile        Fri Feb 13 15:31:35 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2009/02/12 19:51:08 drochner Exp $
+# $NetBSD: Makefile,v 1.57 2009/02/13 15:31:35 drochner Exp $
 
 DISTNAME=      ghostscript-8.64
 CATEGORIES=    print
@@ -66,6 +66,8 @@
 BUILDLINK_TRANSFORM+=  l:fontconfig:fontconfig:iconv
 .endif
 
+CONFIGURE_ENV+=        LPLIBDIR=${LOCALBASE}/lib
+
 post-extract:
        ${MKDIR} ${WRKSRC}/bin
        ${MKDIR} ${WRKSRC}/obj
diff -r 6674c52d84c8 -r 971287e65515 print/ghostscript/distinfo
--- a/print/ghostscript/distinfo        Fri Feb 13 15:28:46 2009 +0000
+++ b/print/ghostscript/distinfo        Fri Feb 13 15:31:35 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2009/02/12 19:51:08 drochner Exp $
+$NetBSD: distinfo,v 1.20 2009/02/13 15:31:35 drochner Exp $
 
 SHA1 (ghostscript-8.64.tar.bz2) = 4c2a6e04145428d35da73fbc4db9c66a75e336e0
 RMD160 (ghostscript-8.64.tar.bz2) = 565134dcfe1e823b435c3761461c5eb394bd633c
@@ -8,3 +8,5 @@
 SHA1 (patch-ae) = 50335e72adebe95ab0cb5873d1c6dd00e971579a
 SHA1 (patch-af) = e4d56f13f5eb595a3929aac6c257012961f59c2b
 SHA1 (patch-ag) = dd452d29253e20bb8fa453a1e4f139a40b2ab3e3
+SHA1 (patch-ah) = efc85dead838505ee462714167f196db2deeb0aa
+SHA1 (patch-ai) = 525b1a00f12027e2ff72f40ddd764fec1622d430
diff -r 6674c52d84c8 -r 971287e65515 print/ghostscript/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript/patches/patch-ah        Fri Feb 13 15:31:35 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.3 2009/02/13 15:31:35 drochner Exp $
+
+--- configure.orig     2009-02-13 12:06:58.000000000 +0100
++++ configure
+@@ -7749,7 +7749,7 @@ fi
+ 
+ fi
+ if test x$with_libpaper != xno; then
+-    LIBS="$LIBS -lpaper"
++    LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper"
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define USE_LIBPAPER 1
diff -r 6674c52d84c8 -r 971287e65515 print/ghostscript/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript/patches/patch-ai        Fri Feb 13 15:31:35 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.3 2009/02/13 15:31:35 drochner Exp $
+
+--- base/mkromfs.c.orig        2009-02-13 12:20:54.000000000 +0100
++++ base/mkromfs.c
+@@ -467,7 +467,7 @@ main(int argc, char *argv[])
+ #endif
+     fprintf(out,"\n#include \"stdint_.h\"\n");
+     fprintf(out,"\n#include \"time_.h\"\n\n");
+-    fprintf(out,"    time_t gs_romfs_buildtime = %ld;\n\n", time(NULL));
++    fprintf(out,"    time_t gs_romfs_buildtime = %qd;\n\n", (int64_t)time(NULL));
+ 
+     /* process the remaining arguments (options interspersed with paths) */
+     for (; atarg < argc; atarg++) {  



Home | Main Index | Thread Index | Old Index