commit: 5fe21d4ec04889a3019dea71ffd69b31825dc394 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Dec 4 07:12:36 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Dec 4 07:32:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe21d4e
vala.eclass: adapt modern c workaround for gcc GCC doesn't have -Wincompatible-function-pointer-types, just -Wincompatible-pointer-types, and it makes the latter fatal in GCC 14. Just adapt the workaround to use that for now until Vala is fixed properly upstream. Bug: https://bugs.gentoo.org/892708 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/vala.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/vala.eclass b/eclass/vala.eclass index d02cc246977a..be5fac99a767 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -174,7 +174,7 @@ vala_setup() { # See bug #892708. # Workaround for https://gitlab.gnome.org/GNOME/vala/-/issues/1408. - append-cflags $(test-flags-CC -Wno-incompatible-function-pointer-types) + append-cflags $(test-flags-CC -Wno-incompatible-pointer-types) } # @FUNCTION: vala_src_prepare
