commit:     0cc24169b9ded53a4552542036291f7df5a2571c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 14:01:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 14:01:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc24169

app-text/enchant: build with -std=gnu89 for :0

Done with regret but :0 is absolutely ancient and I don't think it's
worth spending time on this given only pidgin->gtkspell-2 is left
depending on this.

Do the same as Fedora and built w/ -std=gnu89.

Closes: https://bugs.gentoo.org/932436
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/enchant/enchant-1.6.1-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-text/enchant/enchant-1.6.1-r2.ebuild 
b/app-text/enchant/enchant-1.6.1-r2.ebuild
index c011eda172ef..c9eace21f777 100644
--- a/app-text/enchant/enchant-1.6.1-r2.ebuild
+++ b/app-text/enchant/enchant-1.6.1-r2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit flag-o-matic
+
 MY_PV="${PV//./-}"
 DESCRIPTION="Spellchecker wrapping library"
 HOMEPAGE="https://github.com/rrthomas/enchant";
@@ -39,6 +41,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #932436
+       append-cflags -std=gnu89
+
        local myconf=(
                --datadir="${EPREFIX}"/usr/share/enchant-1
                --disable-static

Reply via email to