diff --git a/srcpkgs/valabind/patches/vala-050.patch b/srcpkgs/valabind/patches/vala-050.patch new file mode 100644 index 00000000000..bd7c6a74345 --- /dev/null +++ b/srcpkgs/valabind/patches/vala-050.patch @@ -0,0 +1,25 @@ +From f942315402e3fc38def14a974dd5b210e5d2c38d Mon Sep 17 00:00:00 2001 +From: Daniel Kolesa +Date: Wed, 16 Sep 2020 20:39:29 +0200 +Subject: [PATCH] fix with vala-0.50 + +--- + valabindwriter.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git valabindwriter.vala valabindwriter.vala +index 165cdf5..c793c9f 100644 +--- valabindwriter.vala ++++ valabindwriter.vala +@@ -33,7 +33,7 @@ public class ValabindWriter : CodeVisitor { + if (glibmode) + context.add_define ("GOBJECT"); + // required to avoid ugly runtime errors +- context.profile = Profile.GOBJECT; ++ context.set_target_profile(Profile.GOBJECT); + } + + public void parse () { +-- +2.28.0 + diff --git a/srcpkgs/valabind/template b/srcpkgs/valabind/template index f6f931c3033..2bf0df336e3 100644 --- a/srcpkgs/valabind/template +++ b/srcpkgs/valabind/template @@ -1,7 +1,7 @@ # Template file for 'valabind' pkgname=valabind version=1.7.1 -revision=5 +revision=6 build_style=meson hostmakedepends="pkg-config vala-devel git" makedepends="vala-devel glib-devel"