io.elementary.code: rebuild for vala-0.50
This commit is contained in:
parent
6232951daa
commit
320062c2df
2 changed files with 26 additions and 1 deletions
25
srcpkgs/io.elementary.code/patches/vala050.patch
Normal file
25
srcpkgs/io.elementary.code/patches/vala050.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From a185de0e7716aa2de2bf21de96e6c9af1dca81aa Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kolesa <daniel@octaforge.org>
|
||||
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
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue