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 20C4D159C96 for ; Mon, 29 Jul 2024 18:18:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 369302BC05C; Mon, 29 Jul 2024 18:18:35 +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 14A3F2BC05C for ; Mon, 29 Jul 2024 18:18:35 +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 116CB33BF41 for ; Mon, 29 Jul 2024 18:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 717BC1D87 for ; Mon, 29 Jul 2024 18:18:32 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1722277065.d14233d72e7cdc4e93acb83100118500f8822203.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/gnutls/gnutls-3.8.6-r1.ebuild X-VCS-Directories: net-libs/gnutls/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: d14233d72e7cdc4e93acb83100118500f8822203 X-VCS-Branch: master Date: Mon, 29 Jul 2024 18:18:32 +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: c3fbe2f8-030f-47c2-9579-cdab853908a9 X-Archives-Hash: 4a0ca8eec52646572cfa90f82b22bf80 commit: d14233d72e7cdc4e93acb83100118500f8822203 Author: Fabian Groffen gentoo org> AuthorDate: Mon Jul 29 18:16:02 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Jul 29 18:17:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14233d7 net-libs/gnutls-3.8.6-r1: adapt Solaris fix, deal with alloca Signed-off-by: Fabian Groffen gentoo.org> net-libs/gnutls/gnutls-3.8.6-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net-libs/gnutls/gnutls-3.8.6-r1.ebuild b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild index 939e7b193225..2eadf62b1861 100644 --- a/net-libs/gnutls/gnutls-3.8.6-r1.ebuild +++ b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild @@ -81,6 +81,13 @@ src_prepare() { # fails to compile in certain configurations sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + if [[ ${CHOST} == *-solaris* ]] ; then + # should be gone on next release, for gnulib memset_s breakage + append-cppflags -D__STDC_WANT_LIB_EXT1__=1 + # alloca usage, similar + sed -i -e '$a#include ' config.h.in || die + fi + # Use sane .so versioning on FreeBSD. elibtoolize } @@ -101,8 +108,6 @@ multilib_src_configure() { # GNU-stack (as doesn't support that) and when that's removed ld # complains about duplicate symbols [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration ) - # should be gone on next release, for gnulib memset_s breakage - [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__STDC_WANT_LIB_EXT1__=1 # -fanalyzer substantially slows down the build and isn't useful for # us. It's useful for upstream as it's static analysis, but it's not