app-i18n/ibus: Add -DGLIB_VERSION_MAX_ALLOWED
This commit is contained in:
parent
8f0e67a3e4
commit
a3ae6db77f
2 changed files with 16 additions and 0 deletions
12
app-i18n/ibus/files/ibus-1.5.32-glib.patch
Normal file
12
app-i18n/ibus/files/ibus-1.5.32-glib.patch
Normal 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
|
|
@ -82,6 +82,10 @@ BDEPEND="
|
||||||
test? ( x11-apps/setxkbmap )
|
test? ( x11-apps/setxkbmap )
|
||||||
unicode? ( app-i18n/unicode-data )"
|
unicode? ( app-i18n/unicode-data )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.5.32-glib.patch
|
||||||
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
vala_setup --ignore-use
|
vala_setup --ignore-use
|
||||||
# Under various circumstances, vala transpiles will need to be redone due to
|
# Under various circumstances, vala transpiles will need to be redone due to
|
||||||
|
|
Loading…
Add table
Reference in a new issue