commit:     31af8d7ef0176a390faf59af480393f834948292
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 15:16:35 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 15:16:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=31af8d7e

sys-devel/binutils: sync

Package-Manager: Portage-2.3.13-prefix, Repoman-2.3.4
RepoMan-Options: --force

 sys-devel/binutils/Manifest                        |  2 ++
 sys-devel/binutils/binutils-2.29.1-r1.ebuild       | 31 ++++++++++++++++++++++
 .../files/binutils-2.29.1-nogoldtest.patch         | 27 +++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index e348252d68..20f982f5aa 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -2,3 +2,5 @@ DIST binutils-2.27-patches-1.0.tar.xz 8852 SHA256 
07be45786e1e56498aad2c52a43d41
 DIST binutils-2.27.tar.bz2 26099568 SHA256 
369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 SHA512 
cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb
 WHIRLPOOL 
d3204b4900529f697285fb1fe622ecc949c43f064e6b83a1cecb1ea8810a214842c729266c9a44537dc0a86d6d2b3ac100f54c721cc284e54f9d6feb90930d15
 DIST binutils-2.28.1-patches-1.0.tar.xz 19772 SHA256 
50cfce6ef7f546dcdb983a8b632507b5cdd51095e4acf1f15bfcd68027d438a4 SHA512 
c2c7d22e1013e79040c4dcb4d70649e78a070976ba3a4bc2ceb4805827b9d93eea1805c85db4fcb6b31be5218c3d7b42a4990437a7c01dc01fd7e9dedb606828
 WHIRLPOOL 
2369fce643cc9b83724b486521621d744de0eaf3d95fdd34c7f1c785bc400f3ed31ae6105001870f33539664d84dd9caae854725e20007f136929d2ece755247
 DIST binutils-2.28.1.tar.bz2 28120394 SHA256 
6924999be62d4464458eb53c11f27277cfb63755df8c1cd47b8d15d02c1942ea SHA512 
5ec5212497b0fa8324f6a0884c284cb71c01942bbd39356d1ae745a5c9d97274c10f9d9c723f4bef6f0217662dfcd0c36e4e955a7599b11217658dc7b97553eb
 WHIRLPOOL 
5c616f719827e5da7db23e89c761323cd4828b4779e79c3983d3ea429bce57ed40219982c478237b4dd728b77bae0a6447d912d96490ed1f5fc279ba5fd73bc6
+DIST binutils-2.29.1-patches-3.tar.xz 20904 SHA256 
a9c6cc884637a398cc6969ca7b734c48967e5ad11e2a74aae25cf53931c85b2b SHA512 
ba54efaf9e9f668d2922972acd2cdf5c3e6f174cfcc73d29953ab4ba6e157ce0cb500c583568a4e3baaaa92c9d30c394a327f29b51292acc66f8d3f20f5eae2a
 WHIRLPOOL 
993b08862835843fdda3d3916f7dfed2d9e195c13e6b52deac42b3e714a022b36f62d41a4c2de89c0dc7eb751f28ac3f2fd8774e3bc4551b411c16688400e2c3
+DIST binutils-2.29.1.tar.bz2 29123355 SHA256 
1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc SHA512 
4063d34555526922376ccceb3f14b43e287442e82a8038cf50f4f51ad97d438c672c0e310ca4b856c9aff5aa9911073e256e8298a7a3f1844eeb60b90d955592
 WHIRLPOOL 
55bf62434bb00b9a355f8d7138c97b6d984eed3a83d7eb37137cf3ab8efcc8e536415d68eba375ae0ab30743f5b3014a664f7d3c773ed55da40c8814691e04d8

diff --git a/sys-devel/binutils/binutils-2.29.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.29.1-r1.ebuild
new file mode 100644
index 0000000000..e799d64aad
--- /dev/null
+++ b/sys-devel/binutils/binutils-2.29.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PATCHVER="3"
+ELF2FLT_VER=""
+inherit toolchain-binutils
+
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+PATCHES=(
+       "${FILESDIR}/${P}-nogoldtest.patch"
+       "${FILESDIR}"/${PN}-2.22-solaris-anonymous-version-script-fix.patch
+       "${FILESDIR}"/${PN}-2.24-cygwin-nointl.patch
+)
+
+pkg_setup() {
+       [[ ${CHOST} == *-mint* ]] && die "mint patches require rebasing to 
${P}" # 609274
+}
+
+src_compile() {
+       if has noinfo "${FEATURES}" \
+       || ! type -p makeinfo >/dev/null
+       then
+               # binutils >= 2.17 (accidentally?) requires 'makeinfo'
+               export EXTRA_EMAKE="MAKEINFO=true"
+       fi
+
+       toolchain-binutils_src_compile
+}

diff --git a/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch 
b/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch
new file mode 100644
index 0000000000..8e0669922d
--- /dev/null
+++ b/sys-devel/binutils/files/binutils-2.29.1-nogoldtest.patch
@@ -0,0 +1,27 @@
+From 40f6e93e5078f16897f23856886566fe3b546206 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <[email protected]>
+Date: Fri, 3 Nov 2017 21:51:35 +0100
+Subject: [PATCH] Gentoo: Disable gold testsuite for users since it fails
+ upstream
+
+https://bugs.gentoo.org/634348
+https://sourceware.org/bugzilla/show_bug.cgi?id=21090
+---
+ Makefile.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 3acb83b8de..49de829bfa 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -2340,7 +2340,6 @@ check-host:  \
+     maybe-check-mpc \
+     maybe-check-isl \
+     maybe-check-libelf \
+-    maybe-check-gold \
+     maybe-check-gprof \
+     maybe-check-intl \
+     maybe-check-tcl \
+-- 
+2.15.0
+

Reply via email to