summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-07-28 15:39:53 +0200
committerFabian Groffen <grobian@gentoo.org>2024-07-28 15:45:47 +0200
commit1c459737142f787eb5a002266250a9e10dec846a (patch)
tree9c116760af578fdf07b0217bdeb5a485dd406248 /sys-devel
parentsys-devel/binutils: Detect and log binutils-config errors. Eventually we want... (diff)
downloadgentoo-1c459737142f787eb5a002266250a9e10dec846a.tar.gz
gentoo-1c459737142f787eb5a002266250a9e10dec846a.tar.bz2
gentoo-1c459737142f787eb5a002266250a9e10dec846a.zip
sys-devel/gettext-0.22.5: fix compilation on Solaris
Apply gnulib workaround fix for memset_s availability. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gettext/gettext-0.22.5.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/gettext/gettext-0.22.5.ebuild b/sys-devel/gettext/gettext-0.22.5.ebuild
index 0f0de646e397..2341e5d0c00a 100644
--- a/sys-devel/gettext/gettext-0.22.5.ebuild
+++ b/sys-devel/gettext/gettext-0.22.5.ebuild
@@ -7,6 +7,7 @@ EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gettext.asc
inherit java-pkg-opt-2 libtool multilib-minimal verify-sig toolchain-funcs
+inherit flag-o-matic
DESCRIPTION="GNU locale utilities"
HOMEPAGE="https://www.gnu.org/software/gettext/"
@@ -156,6 +157,9 @@ multilib_src_configure() {
ECONF_SOURCE+=/gettext-runtime
fi
+ # should be gone on next release, for memset_s breakage
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__STDC_WANT_LIB_EXT1__=1
+
econf "${myconf[@]}"
}