summaryrefslogtreecommitdiff
path: root/games-kids/gmult/files
diff options
context:
space:
mode:
Diffstat (limited to 'games-kids/gmult/files')
-rw-r--r--games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch b/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch
new file mode 100644
index 000000000000..fb0ba7a5227d
--- /dev/null
+++ b/games-kids/gmult/files/gmult-12.0-vala-0.56.11.patch
@@ -0,0 +1,15 @@
+vala-0.56.11 gtk4 bindings seemingly broke API, and so this
+workaround must either be applied conditionally or depend
+on >=vala-0.56.11 as it breaks older VALA_0_56 and we cannot
+check for minor versions from defines.
+
+https://bugs.gentoo.org/912438
+--- a/gmult/main.vala
++++ b/gmult/main.vala
+@@ -108,4 +108,4 @@
+ var provider = new Gtk.CssProvider();
+-#if VALA_0_58
+- provider.load_from_data(css);
++#if VALA_0_56
++ provider.load_from_data(css, -1);
+ #else