geary: Fix build failures with latest vala
PATCH 1/1 geary: Fix build failures with latest vala
Backport needed patches
Signed-off-by Khem Raj <[email protected]>
--- ...orkaround-missing-generic-type-argum.patch | 27 ++++++++++++ ...y-issues-with-initializer-of-constan.patch | 42 +++++++++++++++++++ .../recipes-connectivity/geary/geary_40.0.bb | 2 + 3 files changed, 71 insertions(+) create mode 100644 meta-gnome/recipes-connectivity/geary/geary/0001-Util.Cache.Lru-Workaround-missing-generic-type-argum.patch create mode 100644 meta-gnome/recipes-connectivity/geary/geary/0002-Fix-accessibility-issues-with-initializer-of-constan.patch
meta-gnome/recipes-connectivity/geary/geary/0001-Util.Cache.Lru-Workaround-missing-generic-type-argum.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 166198735e9f4fbe91557df1351b3481bcf79e78 Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz <[email protected]> +Date: Sun, 30 Jan 2022 19:54:11 +0100 +Subject: [PATCH 1/2] Util.Cache.Lru: Workaround missing generic type argument + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/geary/-/commit/0f75e7a84a39492d0748cec2ba6028e08cae3644] +Signed-off-by: Khem Raj <[email protected]> +--- + src/client/util/util-cache.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/client/util/util-cache.vala b/src/client/util/util-cache.vala +index f054e32e..ecc275e8 100644 +--- a/src/client/util/util-cache.vala ++++ b/src/client/util/util-cache.vala +@@ -12,7 +12,7 @@ public class Util.Cache.Lru<T> : Geary.BaseObject { + private class CacheEntry<T> { + + +- public static int lru_compare(CacheEntry<T> a, CacheEntry<T> b) { ++ public static int lru_compare(CacheEntry a, CacheEntry b) { + if (a.key == b.key) { + return 0; + } +-- +2.35.1 +
meta-gnome/recipes-connectivity/geary/geary/0002-Fix-accessibility-issues-with-initializer-of-constan.patch new file +42 -0
42 lines not on this page · raw message
meta-gnome/recipes-connectivity/geary/geary_40.0.bb +2 -0
@@ -34,6 +34,8 @@ inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala featu SRC_URI = " \ git://github.com/GNOME/geary.git;nobranch=1;protocol=https \ + file://0001-Util.Cache.Lru-Workaround-missing-generic-type-argum.patch \ + file://0002-Fix-accessibility-issues-with-initializer-of-constan.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
2.35.1