diff --git a/srcpkgs/io.elementary.code/patches/vala050.patch b/srcpkgs/io.elementary.code/patches/vala050.patch new file mode 100644 index 0000000000..9eeee1fb66 --- /dev/null +++ b/srcpkgs/io.elementary.code/patches/vala050.patch @@ -0,0 +1,25 @@ +From a185de0e7716aa2de2bf21de96e6c9af1dca81aa Mon Sep 17 00:00:00 2001 +From: Daniel Kolesa +Date: Wed, 16 Sep 2020 20:43:07 +0200 +Subject: [PATCH] fix with vala-0.50 + +--- + plugins/outline/Vala/ValaSymbolOutline.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git plugins/outline/Vala/ValaSymbolOutline.vala plugins/outline/Vala/ValaSymbolOutline.vala +index c8db339..31386a6 100644 +--- plugins/outline/Vala/ValaSymbolOutline.vala ++++ plugins/outline/Vala/ValaSymbolOutline.vala +@@ -61,7 +61,7 @@ public class Code.Plugins.ValaSymbolOutline : Object, Code.Plugins.SymbolOutline + + public void parse_symbols () { + var context = new Vala.CodeContext (); +- context.profile = Vala.Profile.GOBJECT; ++ context.set_target_profile(Vala.Profile.GOBJECT); + context.add_source_filename (doc.file.get_path ()); + context.report = new Report (); + if (cancellable != null) +-- +2.28.0 + diff --git a/srcpkgs/io.elementary.code/template b/srcpkgs/io.elementary.code/template index 447e7e5f60..8d43ad4130 100644 --- a/srcpkgs/io.elementary.code/template +++ b/srcpkgs/io.elementary.code/template @@ -1,7 +1,7 @@ # Template file for 'io.elementary.code' pkgname=io.elementary.code version=3.4.1 -revision=2 +revision=3 wrksrc="code-${version}" build_style=meson hostmakedepends="pkg-config vala intltool glib-devel"