pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ghostscript-gpl ghostscript-gpl: Fix zlib change...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ee0aea669d7
branches: trunk
changeset: 370905:1ee0aea669d7
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Oct 27 16:17:49 2017 +0000
description:
ghostscript-gpl: Fix zlib change fallout.
diffstat:
print/ghostscript-gpl/Makefile | 5 +++--
print/ghostscript-gpl/distinfo | 4 ++--
print/ghostscript-gpl/patches/patch-ah | 20 +++++++++++++++++++-
3 files changed, 24 insertions(+), 5 deletions(-)
diffs (71 lines):
diff -r ed0c8bfb568b -r 1ee0aea669d7 print/ghostscript-gpl/Makefile
--- a/print/ghostscript-gpl/Makefile Fri Oct 27 15:50:53 2017 +0000
+++ b/print/ghostscript-gpl/Makefile Fri Oct 27 16:17:49 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2017/10/26 07:01:33 maya Exp $
+# $NetBSD: Makefile,v 1.32 2017/10/27 16:17:49 jperkin Exp $
DISTNAME= ghostscript-${GS_VERSION}
PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/}
@@ -84,7 +84,8 @@
# require linking against libiconv when it should do so.
BUILDLINK_TRANSFORM.IRIX+= l:fontconfig:fontconfig:iconv
-CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib
+CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib
+CONFIGURE_ENV+= ZLIB_DIR=${BUILDLINK_PREFIX.zlib}/lib
# On OpenBSD 5.3, libxcb is required libXt.
LDFLAGS.OpenBSD+= -lxcb
diff -r ed0c8bfb568b -r 1ee0aea669d7 print/ghostscript-gpl/distinfo
--- a/print/ghostscript-gpl/distinfo Fri Oct 27 15:50:53 2017 +0000
+++ b/print/ghostscript-gpl/distinfo Fri Oct 27 16:17:49 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2017/06/08 01:28:10 khorben Exp $
+$NetBSD: distinfo,v 1.19 2017/10/27 16:17:49 jperkin Exp $
SHA1 (ghostscript-9.06.tar.bz2) = 4c1c2b4cddd16d86b21f36ad4fc15f6100162238
RMD160 (ghostscript-9.06.tar.bz2) = 11ef74cf783ec5f7cde0ceaaf2823a1f62fb4d1d
@@ -17,7 +17,7 @@
SHA1 (patch-CVE-2017-6196) = 311d9236dd5abcd48ae0f412bf481e105b6207dc
SHA1 (patch-CVE-2017-7207) = 31f4a73b49b52942385eaa3c8cf2a94b5bbde6df
SHA1 (patch-af) = a556b774993c72481284e0d0cce222c61be4ea94
-SHA1 (patch-ah) = 73a05ee51845ca70e1b18c50dee98d6799a46d52
+SHA1 (patch-ah) = 7548f6f78b8029febec044bc11214f9d6674c9d3
SHA1 (patch-ai) = 3962a3acac1d4537dbbe3fc3b205aba87387d485
SHA1 (patch-aj) = 620d921210b5c0efec0a84e33bc416e4ab4bd11c
SHA1 (patch-al) = e5a5be44f997a450afef15e172acc771b4818ac9
diff -r ed0c8bfb568b -r 1ee0aea669d7 print/ghostscript-gpl/patches/patch-ah
--- a/print/ghostscript-gpl/patches/patch-ah Fri Oct 27 15:50:53 2017 +0000
+++ b/print/ghostscript-gpl/patches/patch-ah Fri Oct 27 16:17:49 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ah,v 1.6 2015/02/24 08:21:07 markd Exp $
+$NetBSD: patch-ah,v 1.7 2017/10/27 16:17:49 jperkin Exp $
(1) First chunk to fix the X11_TYPE=native problem, which
freetype2 in /usr/X11R7/ is way old, and work around to
@@ -57,6 +57,24 @@
$as_echo "#define USE_LIBPAPER 1" >>confdefs.h
+@@ -5832,7 +5835,7 @@ if ${ac_cv_lib_z_deflate+:} false; then
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lz $LIBS"
++LIBS="-L${ZLIB_DIR} -Wl,-R${ZLIB_DIR} -lz $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -5871,7 +5874,7 @@ if test "x$ac_cv_header_zlib_h" = xyes;
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_ZLIB_H 1
+ _ACEOF
+- SHARE_ZLIB=1; AUX_SHARED_ZLIB="-l\$(ZLIB_NAME)"
++ SHARE_ZLIB=1; AUX_SHARED_ZLIB="-L${ZLIB_DIR} -Wl,-R${ZLIB_DIR} -l\$(ZLIB_NAME)"
+ fi
+
+ done
@@ -6474,7 +6477,9 @@ done
LCUPSINCLUDE="include \$(GLSRCDIR)/lcups.mak"
LCUPSIINCLUDE="include \$(GLSRCDIR)/lcupsi.mak"
Home |
Main Index |
Thread Index |
Old Index