commit: 133d3cb413ca7a2e2870dad069ca6c41a494b6b9 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Thu May 29 09:13:09 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 8 04:56:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133d3cb4
sys-devel/gettext: avoid build failures with -Werror=format-security While gettext made a fix for building with -Werror=format-security combined with USE=-nls, it only works with gcc. Backporting this change would be more trouble than it is worth and still require conditional filter-flags for clang. Instead of trying to accommodate different compilers and USE flag combinations just ignore -Werror=format-security unconditionally. Closes: https://bugs.gentoo.org/955689 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/42321 Closes: https://github.com/gentoo/gentoo/pull/42321 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-devel/gettext/gettext-0.23.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-devel/gettext/gettext-0.23.1-r1.ebuild b/sys-devel/gettext/gettext-0.23.1-r1.ebuild index 76ef3f745c72..5b164e7b73dc 100644 --- a/sys-devel/gettext/gettext-0.23.1-r1.ebuild +++ b/sys-devel/gettext/gettext-0.23.1-r1.ebuild @@ -6,7 +6,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 java-pkg-opt-2 libtool multilib-minimal verify-sig toolchain-funcs DESCRIPTION="GNU locale utilities" HOMEPAGE="https://www.gnu.org/software/gettext/" @@ -102,6 +102,9 @@ src_prepare() { } multilib_src_configure() { + # see https://bugs.gentoo.org/955689 + append-flags -Wno-error=format-security + local myconf=( # switches common to runtime and top-level --cache-file="${BUILD_DIR}"/config.cache
