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 26B021581C1 for ; Thu, 4 Jul 2024 01:29:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 373D2E2A11; Thu, 4 Jul 2024 01:29:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 212D6E2A11 for ; Thu, 4 Jul 2024 01:29:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CDF5342FAE for ; Thu, 4 Jul 2024 01:29:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF918154E for ; Thu, 4 Jul 2024 01:29:47 +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: <1720056517.c627cc231796bf88ce7ef664986863d32de4a5a4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nettle/nettle-3.10.ebuild dev-libs/nettle/nettle-3.9.1-r1.ebuild X-VCS-Directories: dev-libs/nettle/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c627cc231796bf88ce7ef664986863d32de4a5a4 X-VCS-Branch: master Date: Thu, 4 Jul 2024 01:29:47 +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: 0135f159-543a-4fc5-977f-d4d2a7e83953 X-Archives-Hash: 087b00e01534c862808a32ba966016bc commit: c627cc231796bf88ce7ef664986863d32de4a5a4 Author: Sam James gentoo org> AuthorDate: Thu Jul 4 01:28:37 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 4 01:28:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c627cc23 dev-libs/nettle: fix quoting for altivec sanity check Bug: https://bugs.gentoo.org/920234 Closes: https://bugs.gentoo.org/935410 Fixes: 4551df6ec5cae19486cb63698e294a3f62015600 Thanks-to: Nick Bowler draconx.ca> Signed-off-by: Sam James gentoo.org> dev-libs/nettle/nettle-3.10.ebuild | 2 +- dev-libs/nettle/nettle-3.9.1-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/nettle/nettle-3.10.ebuild b/dev-libs/nettle/nettle-3.10.ebuild index b79aa1e683e3..08c8eb463c22 100644 --- a/dev-libs/nettle/nettle-3.10.ebuild +++ b/dev-libs/nettle/nettle-3.10.ebuild @@ -89,7 +89,7 @@ multilib_src_configure() { ) # https://git.lysator.liu.se/nettle/nettle/-/issues/7 - if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" "${CPPFLAGS}" "${CFLAGS}" ; then + if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7." ewarn "Disabling, sorry! See bug #920234." myeconfargs+=( --disable-power-altivec ) diff --git a/dev-libs/nettle/nettle-3.9.1-r1.ebuild b/dev-libs/nettle/nettle-3.9.1-r1.ebuild index 5f20798db8f1..55e95a1e59f5 100644 --- a/dev-libs/nettle/nettle-3.9.1-r1.ebuild +++ b/dev-libs/nettle/nettle-3.9.1-r1.ebuild @@ -84,7 +84,7 @@ multilib_src_configure() { ) # https://git.lysator.liu.se/nettle/nettle/-/issues/7 - if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" "${CPPFLAGS}" "${CFLAGS}" ; then + if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7." ewarn "Disabling, sorry! See bug #920234." myeconfargs+=( --disable-power-altivec )