Wed Aug 22 19:44:28 2012 UTC ()
Disable -ffunction-sections -fdata-sections and accompanying
--gc-sections on netbsd because --gc-sections doesn't work with the
netbsd-4 and netbsd-5 linker. See PR 46698 and PR 40401.

Bump PKGREVISION because this changes the compiled package on netbsd-6.


(dholland)
diff -r1.13 -r1.14 pkgsrc/print/xetex/Makefile
diff -r1.11 -r1.12 pkgsrc/print/xetex/distinfo
diff -r0 -r1.1 pkgsrc/print/xetex/patches/patch-libs_icu_icu-49_1_configure

cvs diff -r1.13 -r1.14 pkgsrc/print/xetex/Makefile (expand / switch to context diff)
--- pkgsrc/print/xetex/Makefile 2012/08/13 10:42:18 1.13
+++ pkgsrc/print/xetex/Makefile 2012/08/22 19:44:27 1.14
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2012/08/13 10:42:18 drochner Exp $
+# $NetBSD: Makefile,v 1.14 2012/08/22 19:44:27 dholland Exp $
 
 DISTNAME=	texlive-20120701-source
 PKGNAME=	xetex-0.9998
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	ftp://tug.org/historic/systems/texlive/2012/
 EXTRACT_SUFX=	.tar.xz

cvs diff -r1.11 -r1.12 pkgsrc/print/xetex/distinfo (expand / switch to context diff)
--- pkgsrc/print/xetex/distinfo 2012/07/31 18:44:03 1.11
+++ pkgsrc/print/xetex/distinfo 2012/08/22 19:44:27 1.12
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2012/07/31 18:44:03 wiz Exp $
+$NetBSD: distinfo,v 1.12 2012/08/22 19:44:27 dholland Exp $
 
 SHA1 (texlive-20120701-source.tar.xz) = e41ef31eba27891f3434e01638d3559cc6958016
 RMD160 (texlive-20120701-source.tar.xz) = df09b657919a3f203309645028803098f52bbac9
 Size (texlive-20120701-source.tar.xz) = 131904044 bytes
+SHA1 (patch-libs_icu_icu-49_1_configure) = 3e21058a60b628c948b5156f911eab2aa5e4aaf7
 SHA1 (patch-texk_web2c_xetexdir_XeTeX__ext.c) = a83e842b567db6acb35cfab5303a7e96845fa953

File Added: pkgsrc/print/xetex/patches/Attic/patch-libs_icu_icu-49_1_configure
$NetBSD: patch-libs_icu_icu-49_1_configure,v 1.1 2012/08/22 19:44:28 dholland Exp $

Disable -ffunction-sections -fdata-sections and accompanying
--gc-sections on netbsd because --gc-sections doesn't work with the
netbsd-4 and netbsd-5 linker. See PR 46698 and PR 40401.

At some point this patch should probably be made less blunt, and/or
upstream should fix it to test if the options work instead of going by
OS type.

--- libs/icu/icu-49.1/configure~	2012-03-21 15:06:23.000000000 +0000
+++ libs/icu/icu-49.1/configure
@@ -5259,6 +5259,9 @@ $as_echo_n "checking whether we can use 
             OLD_LDFLAGS="${LDFLAGS}"
 
             case "${host}" in
+	    *-netbsd*)
+		# --gc-sections does not work on netbsd-4 and netbsd-5
+		;;
             *-linux*|i*86-*-*bsd*|i*86-pc-gnu)
                 if test "$ac_cv_c_compiler_gnu" = yes; then
                     CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections"