$OpenBSD: patch-plugins_outline_Vala_ValaSymbolOutline_vala,v 1.2 2020/11/02 16:03:41 jasper Exp $

https://github.com/elementary/code/pull/901

Index: plugins/outline/Vala/ValaSymbolOutline.vala
--- plugins/outline/Vala/ValaSymbolOutline.vala.orig
+++ plugins/outline/Vala/ValaSymbolOutline.vala
@@ -61,7 +61,11 @@ public class Code.Plugins.ValaSymbolOutline : Object, 
 
     public void parse_symbols () {
         var context = new Vala.CodeContext ();
-        context.profile = Vala.Profile.GOBJECT;
+#if VALA_0_50
+         context.set_target_profile (Vala.Profile.GOBJECT, false);
+#else
+         context.profile = Vala.Profile.GOBJECT;
+#endif
         context.add_source_filename (doc.file.get_path ());
         context.report = new Report ();
         if (cancellable != null)
