mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
caribou: Add patch to fix for newer vala.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
885c578bce
commit
9224212a72
2 changed files with 14 additions and 0 deletions
|
@ -75,6 +75,7 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/3.patch
|
||||
patch -p1 < $CWD/unicode_to_keyval-symbol-check.patch
|
||||
|
||||
PYTHON="/usr/bin/python3" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
13
caribou/unicode_to_keyval-symbol-check.patch
Normal file
13
caribou/unicode_to_keyval-symbol-check.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala
|
||||
index 89015bc..e88342e 100644
|
||||
--- a/libcaribou/key-model.vala
|
||||
+++ b/libcaribou/key-model.vala
|
||||
@@ -101,7 +101,7 @@ namespace Caribou {
|
||||
unichar uc;
|
||||
while (text.get_next_char (ref index, out uc)) {
|
||||
uint keyval = Gdk.unicode_to_keyval (uc);
|
||||
- if (keyval != uc | 0x01000000)
|
||||
+ if (keyval != (uc | 0x01000000))
|
||||
_keyvals += keyval;
|
||||
}
|
||||
} else {
|
Loading…
Reference in a new issue