From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31C10158086 for ; Tue, 21 Dec 2021 01:56:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E6382BC03B; Tue, 21 Dec 2021 01:56:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 005A22BC02C for ; Tue, 21 Dec 2021 01:56:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15E20342F4F for ; Tue, 21 Dec 2021 01:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D91D256 for ; Tue, 21 Dec 2021 01:56:14 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1640050757.a347efebb631f7cda18364295afe2858c11a36b1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/tboot/, sys-boot/tboot/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/tboot/files/tboot-1.10.3-dont-call-strip-directly.patch sys-boot/tboot/tboot-1.10.3.ebuild X-VCS-Directories: sys-boot/tboot/files/ sys-boot/tboot/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a347efebb631f7cda18364295afe2858c11a36b1 X-VCS-Branch: master Date: Tue, 21 Dec 2021 01:56:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 00c9a524-5cf3-469c-bcd2-c1bbb5fc7962 X-Archives-Hash: 6494c657a9e588e0b0d630075beba2b9 commit: a347efebb631f7cda18364295afe2858c11a36b1 Author: Christopher Byrne gmail com> AuthorDate: Mon Dec 20 17:31:59 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Dec 21 01:39:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a347efeb sys-boot/tboot: Don't call strip directly Closes: https://bugs.gentoo.org/829696 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Christopher Byrne gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23439 Signed-off-by: Sam James gentoo.org> .../tboot/files/tboot-1.10.3-dont-call-strip-directly.patch | 12 ++++++++++++ sys-boot/tboot/tboot-1.10.3.ebuild | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/sys-boot/tboot/files/tboot-1.10.3-dont-call-strip-directly.patch b/sys-boot/tboot/files/tboot-1.10.3-dont-call-strip-directly.patch new file mode 100644 index 000000000000..83adeda6d5ac --- /dev/null +++ b/sys-boot/tboot/files/tboot-1.10.3-dont-call-strip-directly.patch @@ -0,0 +1,12 @@ +diff -r 5a30b6b09e77 tboot/Makefile +--- a/tboot/Makefile Fri Dec 10 15:35:42 2021 +0100 ++++ b/tboot/Makefile Mon Dec 20 13:06:09 2021 -0600 +@@ -34,7 +34,7 @@ + TARGET_LDS := $(CURDIR)/common/tboot.lds + + $(TARGET).strip : $(TARGET) +- strip $< -o $@ ++ $(STRIP) $< -o $@ + + $(TARGET).gz : $(TARGET).strip + gzip -n -f -9 < $< > $@ diff --git a/sys-boot/tboot/tboot-1.10.3.ebuild b/sys-boot/tboot/tboot-1.10.3.ebuild index 82f0b645458c..1c4693a6e37b 100644 --- a/sys-boot/tboot/tboot-1.10.3.ebuild +++ b/sys-boot/tboot/tboot-1.10.3.ebuild @@ -25,10 +25,11 @@ RDEPEND="${DEPEND} DOCS=( README.md COPYING CHANGELOG ) PATCHES=( "${FILESDIR}/${PN}-1.10.3-disable-Werror.patch" - "${FILESDIR}/${PN}-1.10.3-disable-strip.patch" ) + "${FILESDIR}/${PN}-1.10.3-disable-strip.patch" + "${FILESDIR}/${PN}-1.10.3-dont-call-strip-directly.patch" ) src_configure() { - tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP + tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP STRIP default }