grobian 15/02/04 17:33:20 Modified: binutils-apple-6.1.ebuild ChangeLog Log: Add patch to silence when LTO is in use by Michael Weiser, bug #538604 (Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Revision Changes Path 1.3 sys-devel/binutils-apple/binutils-apple-6.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild?r1=1.2&r2=1.3 Index: binutils-apple-6.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- binutils-apple-6.1.ebuild 31 Jan 2015 02:33:23 -0000 1.2 +++ binutils-apple-6.1.ebuild 4 Feb 2015 17:33:20 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild,v 1.2 2015/01/31 02:33:23 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-6.1.ebuild,v 1.3 2015/02/04 17:33:20 grobian Exp $ EAPI="3" @@ -73,6 +73,7 @@ epatch "${FILESDIR}"/ld64-241.9-register-names.patch epatch "${FILESDIR}"/ld64-241.9-get-comm-align.patch epatch "${FILESDIR}"/ld64-241.9-cc_md5.patch + epatch "${FILESDIR}"/ld64-241.9-lto-noremarks.patch # We used to use our own copy of lto.h, which doesn't require llvm # build-env. Current versions of llvm provide @@ -99,7 +100,7 @@ # mimic OS X Leopard-style Availability.h macros for libunwind.h on # older systems - [[ ${CHOST#*-darwin} -le 8 ]] && \ + [[ ${CHOST} == *darwin* && ${CHOST#*-darwin} -le 8 ]] && \ echo "#define __OSX_AVAILABLE_STARTING(x,y) " > include/Availability.h local VER_STR="\"@(#)PROGRAM:ld PROJECT:${LD64} (Gentoo ${PN}-${PVR})\\n\"" @@ -198,11 +199,11 @@ append-cppflags -DNDEBUG # Block API and thus snapshots supported on >= 10.6 - [ ${CHOST#*-darwin} -ge 10 ] && \ + [[ ${CHOST} == *darwin* && ${CHOST#*-darwin} -ge 10 ]] && \ append-cppflags -DSUPPORT_SNAPSHOTS CCTOOLS_OFLAG= - if [ ${CHOST#*-darwin} -le 8 ] ; then + if [[ ${CHOST} == *darwin* && ${CHOST#*-darwin} -le 8 ]] ; then # cctools expect to use UNIX03 struct member names. # This is default on > 10.4. Activate it on <= 10.4 by defining # __DARWIN_UNIX03 explicitly. 1.41 sys-devel/binutils-apple/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?rev=1.41&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?rev=1.41&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?r1=1.40&r2=1.41 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- ChangeLog 4 Feb 2015 02:55:23 -0000 1.40 +++ ChangeLog 4 Feb 2015 17:33:20 -0000 1.41 @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/binutils-apple # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.40 2015/02/04 02:55:23 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.41 2015/02/04 17:33:20 grobian Exp $ + + 04 Feb 2015; Fabian Groffen <[email protected]> + +files/ld64-241.9-lto-noremarks.patch, binutils-apple-6.1.ebuild: + Add patch to silence when LTO is in use by Michael Weiser, bug #538604 04 Feb 2015; Patrick Lauer <[email protected]> binutils-apple-4.2-r1.ebuild, binutils-apple-4.3-r1.ebuild:
