app-i18n/ibus: Add -DGLIB_VERSION_MAX_ALLOWED

This commit is contained in:
Enno Tensing 2025-05-03 07:11:11 +02:00
parent 8f0e67a3e4
commit a3ae6db77f
Signed by: tenno
GPG key ID: 95265603BD36E66C
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/configure.ac b/configure.ac
index ac94302..3f58196 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,6 +185,7 @@ PKG_CHECK_EXISTS(
[AC_DEFINE(GLIB2_EMBED_ERRNO_H, TRUE, [glib2 include errno.h])]
)
AH_BOTTOM([
+#define GLIB_MAX_VERSION_ALLOWED GLIB_VERSION_2_82
#ifndef GLIB2_EMBED_ERRNO_H
# include <errno.h>
#endif

View file

@ -82,6 +82,10 @@ BDEPEND="
test? ( x11-apps/setxkbmap )
unicode? ( app-i18n/unicode-data )"
PATCHES=(
"${FILESDIR}"/${PN}-1.5.32-glib.patch
)
src_prepare() {
vala_setup --ignore-use
# Under various circumstances, vala transpiles will need to be redone due to