summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-07-28 19:22:23 +0200
committerFabian Groffen <grobian@gentoo.org>2024-07-28 19:22:52 +0200
commita270dfe155a5196d4edc6ec31d2abc9a9740ed1a (patch)
tree375747f2816d4d0ebe28b21230ee804c353187b5 /net-libs/gnutls
parentsys-kernel/modprobed-db: Keyword 2.47 arm64, #936841 (diff)
downloadgentoo-a270dfe155a5196d4edc6ec31d2abc9a9740ed1a.tar.gz
gentoo-a270dfe155a5196d4edc6ec31d2abc9a9740ed1a.tar.bz2
gentoo-a270dfe155a5196d4edc6ec31d2abc9a9740ed1a.zip
net-libs/gnutls-3.8.6-r1: fix compilation on Solaris
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/gnutls-3.8.6-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
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