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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A3B4158087 for ; Thu, 7 Oct 2021 09:17:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6371BE085B; Thu, 7 Oct 2021 09:17:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07283E085E for ; Thu, 7 Oct 2021 09:17:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5C9234336E for ; Thu, 7 Oct 2021 09:17:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23B4D129 for ; Thu, 7 Oct 2021 09:17:11 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1633596962.a4ac94e6a29b969e5fe1681cf38e88084650621a.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/, sci-libs/djbfft/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/djbfft/djbfft-0.76-r3.ebuild sci-libs/djbfft/files/djbfft-0.76-tc-directly.patch X-VCS-Directories: sci-libs/djbfft/ sci-libs/djbfft/files/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: a4ac94e6a29b969e5fe1681cf38e88084650621a X-VCS-Branch: master Date: Thu, 7 Oct 2021 09:17:11 +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: 9e395ed6-b3c6-4362-a402-a1cb0f850f7d X-Archives-Hash: 7c4bff2c028f2a7d3b3efced9c27eddc commit: a4ac94e6a29b969e5fe1681cf38e88084650621a Author: Jakov Smolić gentoo org> AuthorDate: Thu Oct 7 08:56:02 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Thu Oct 7 08:56:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ac94e6 sci-libs/djbfft: Fix tc-directly Closes: https://bugs.gentoo.org/731874 Closes: https://bugs.gentoo.org/725432 Closes: https://bugs.gentoo.org/721352 Signed-off-by: Jakov Smolić gentoo.org> sci-libs/djbfft/djbfft-0.76-r3.ebuild | 2 ++ .../djbfft/files/djbfft-0.76-tc-directly.patch | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/sci-libs/djbfft/djbfft-0.76-r3.ebuild b/sci-libs/djbfft/djbfft-0.76-r3.ebuild index a0dcc7e2d8f..eee460123e6 100644 --- a/sci-libs/djbfft/djbfft-0.76-r3.ebuild +++ b/sci-libs/djbfft/djbfft-0.76-r3.ebuild @@ -17,6 +17,7 @@ PATCHES=( "${FILESDIR}"/${P}-gcc3.patch "${FILESDIR}"/${P}-shared.patch "${FILESDIR}"/${P}-headers.patch + "${FILESDIR}"/${P}-tc-directly.patch ) DOCS=( CHANGES README TODO VERSION ) @@ -35,6 +36,7 @@ src_prepare() { } multilib_src_configure() { + tc-export AR RANLIB [[ ${ABI} == x86* ]] && append-cflags -malign-double sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c || die diff --git a/sci-libs/djbfft/files/djbfft-0.76-tc-directly.patch b/sci-libs/djbfft/files/djbfft-0.76-tc-directly.patch new file mode 100644 index 00000000000..340d3b7be6a --- /dev/null +++ b/sci-libs/djbfft/files/djbfft-0.76-tc-directly.patch @@ -0,0 +1,22 @@ +# https://bugs.gentoo.org/731874 +# https://bugs.gentoo.org/725432 +--- a/Makefile ++++ b/Makefile +@@ -736,7 +736,7 @@ warn-auto.sh systype + echo 'rm -f "$$main"'; \ + echo 'if [ "$${main##*.}" = "a" ]'; \ + echo 'then'; \ +- echo ' ar cr "$$main" $${1+"$$@"}'; \ ++ echo ' $(AR) cr "$$main" $${1+"$$@"}'; \ + case "`cat systype`" in \ + sunos-5.*) ;; \ + unix_sv*) ;; \ +@@ -745,7 +745,7 @@ warn-auto.sh systype + dgux-*) ;; \ + hp-ux-*) ;; \ + sco*) ;; \ +- *) echo ' ranlib "$$main"' ;; \ ++ *) echo ' $(RANLIB) "$$main"' ;; \ + esac; \ + echo 'else'; \ + echo ' exec `head -1 conf-ld` -shared -Wl,-soname,libdjbfft.so.0.7.6 -o "$$main" $${1+"$$@"}'; \