From e8d729a0a491353bf2674bfbece85b5d582bcd1f Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sat, 31 Oct 2020 10:45:45 +1100 Subject: [PATCH] swell-foop: add patch fix build with latest vala. Backported from upstream. --- srcpkgs/swell-foop/patches/vala-fix.patch | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/swell-foop/patches/vala-fix.patch diff --git a/srcpkgs/swell-foop/patches/vala-fix.patch b/srcpkgs/swell-foop/patches/vala-fix.patch new file mode 100644 index 00000000000..58d836e46a0 --- /dev/null +++ b/srcpkgs/swell-foop/patches/vala-fix.patch @@ -0,0 +1,25 @@ +From a366bf649c032c56f52138d14e2b96b4a48525de Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz +Date: Thu, 2 Jul 2020 15:28:02 +0200 +Subject: [PATCH] Don't use unsupported vala syntax + +--- + src/game-view.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git src/game-view.vala src/game-view.vala +index 1fb0c4b..69b50b8 100644 +--- src/game-view.vala ++++ src/game-view.vala +@@ -451,7 +451,7 @@ private class Theme : Object + internal Theme (string name) + { + textures = new Clutter.Image [4]; +- string[4] colors = {"blue", "green", "yellow", "red"}; ++ string[] colors = {"blue", "green", "yellow", "red"}; + + /* Create the textures required to render */ + try +-- +GitLab +