File caribou-vala-build-fix.patch of Package caribou.19883
From 76fbd11575f918fc898cb0f5defe07f67c11ec38 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Wed, 20 Jan 2021 23:09:38 +0100
Subject: [PATCH] Fix build with newer valac versions
Fixes https://gitlab.gnome.org/GNOME/caribou/issues/7
---
libcaribou/key-model.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
--
2.31.1