pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/png Don't allow "ld --version-script" on Inte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2fd16144d0e7
branches:  trunk
changeset: 523215:2fd16144d0e7
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Jan 03 16:23:10 2007 +0000

description:
Don't allow "ld --version-script" on Interix.  Fixes PR pkg/35210.
Based on patch idea from Aleksey Cheusov <cheusov%tut.by@localhost>.
(Sanity tested for breakage on a non-Interix platform, NetBSD.)

diffstat:

 graphics/png/Makefile         |   3 ++-
 graphics/png/buildlink3.mk    |   9 +++++++--
 graphics/png/distinfo         |   3 ++-
 graphics/png/patches/patch-ac |  13 +++++++++++++
 4 files changed, 24 insertions(+), 4 deletions(-)

diffs (67 lines):

diff -r 15e0f483de9a -r 2fd16144d0e7 graphics/png/Makefile
--- a/graphics/png/Makefile     Wed Jan 03 15:54:56 2007 +0000
+++ b/graphics/png/Makefile     Wed Jan 03 16:23:10 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.86 2006/11/30 10:58:17 drochner Exp $
+# $NetBSD: Makefile,v 1.87 2007/01/03 16:23:10 tv Exp $
 
 DISTNAME=      libpng-1.2.14
 PKGNAME=       ${DISTNAME:S/lib//}
+PKGREVISION=   1
 # temporary, distfile was changed after release
 DIST_SUBDIR=   libpng-1.2.14-20061130
 CATEGORIES=    graphics
diff -r 15e0f483de9a -r 2fd16144d0e7 graphics/png/buildlink3.mk
--- a/graphics/png/buildlink3.mk        Wed Jan 03 15:54:56 2007 +0000
+++ b/graphics/png/buildlink3.mk        Wed Jan 03 16:23:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/12/12 21:52:36 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2007/01/03 16:23:10 tv Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 PNG_BUILDLINK3_MK:=    ${PNG_BUILDLINK3_MK}+
@@ -12,7 +12,12 @@
 BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}png
 
 .if !empty(PNG_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.png+=            png>=1.2.4
+# XXX tv - remove this OPSYS block the next time ABI_DEPENDS is bumped:
+.if ${OPSYS} == "Interix"
+BUILDLINK_ABI_DEPENDS.png?=    png>=1.2.14nb1 # fixes linkage bug
+.endif
+
+BUILDLINK_API_DEPENDS.png+=    png>=1.2.4
 BUILDLINK_ABI_DEPENDS.png?=    png>=1.2.9nb2
 BUILDLINK_PKGSRCDIR.png?=      ../../graphics/png
 
diff -r 15e0f483de9a -r 2fd16144d0e7 graphics/png/distinfo
--- a/graphics/png/distinfo     Wed Jan 03 15:54:56 2007 +0000
+++ b/graphics/png/distinfo     Wed Jan 03 16:23:10 2007 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.34 2006/11/30 10:58:18 drochner Exp $
+$NetBSD: distinfo,v 1.35 2007/01/03 16:23:10 tv Exp $
 
 SHA1 (libpng-1.2.14-20061130/libpng-1.2.14.tar.bz2) = 3cf3efcada7896982b165ea34ed6b399ef7fb4af
 RMD160 (libpng-1.2.14-20061130/libpng-1.2.14.tar.bz2) = 37c91bc411a8c4bc467bb8b229a4e39bcca4bd8a
 Size (libpng-1.2.14-20061130/libpng-1.2.14.tar.bz2) = 620379 bytes
 SHA1 (patch-aa) = 4b6437906e6f2f644c731a293859e64f69300bb0
 SHA1 (patch-ab) = 979175c65587686b339a5556e8bcae3be95a07ca
+SHA1 (patch-ac) = 87850d6ac555f1d8863a96d287a1ccccfa89230b
 SHA1 (patch-ae) = b9bf9de3caa32ac78a17685cdd5df5b80d1ccbbf
diff -r 15e0f483de9a -r 2fd16144d0e7 graphics/png/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/png/patches/patch-ac     Wed Jan 03 16:23:10 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.6 2007/01/03 16:23:10 tv Exp $
+
+--- configure.orig     2006-11-28 11:26:14.000000000 -0500
++++ configure
+@@ -21341,7 +21341,7 @@ fi
+ { echo "$as_me:$LINENO: checking if libraries can be versioned" >&5
+ echo $ECHO_N "checking if libraries can be versioned... $ECHO_C" >&6; }
+ GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
+-if test "$GLD"; then
++if test "$GLD" && test "`uname -s`" != "Interix"; then
+     have_ld_version_script=yes
+     { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }



Home | Main Index | Thread Index | Old Index