commit:     a270dfe155a5196d4edc6ec31d2abc9a9740ed1a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 17:22:23 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 17:22:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a270dfe1

net-libs/gnutls-3.8.6-r1: fix compilation on Solaris

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 net-libs/gnutls/gnutls-3.8.6-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-libs/gnutls/gnutls-3.8.6-r1.ebuild 
b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild
index d05034054f7f..939e7b193225 100644
--- a/net-libs/gnutls/gnutls-3.8.6-r1.ebuild
+++ b/net-libs/gnutls/gnutls-3.8.6-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnutls.asc
-inherit libtool multilib-minimal verify-sig
+inherit libtool multilib-minimal verify-sig flag-o-matic
 
 DESCRIPTION="A secure communications library implementing the SSL, TLS and 
DTLS protocols"
 HOMEPAGE="https://www.gnutls.org/";
@@ -101,6 +101,8 @@ 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

Reply via email to