Download raw body.
www/tuba: fix build
ports@, Brian,
here a trivial fix which fixes build www/tuba by current vala.
Ok?
Index: patches/patch-src_Views_Admin_Pages_Accounts_vala
===================================================================
RCS file: patches/patch-src_Views_Admin_Pages_Accounts_vala
diff -N patches/patch-src_Views_Admin_Pages_Accounts_vala
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Views_Admin_Pages_Accounts_vala 1 Oct 2025 15:02:11 -0000
@@ -0,0 +1,12 @@
+Index: src/Views/Admin/Pages/Accounts.vala
+--- src/Views/Admin/Pages/Accounts.vala.orig
++++ src/Views/Admin/Pages/Accounts.vala
+@@ -53,7 +53,7 @@ public class Tuba.Views.Admin.Page.Accounts : Views.Ad
+ Adw.BreakpointConditionLengthType.MAX_WIDTH,
+ 450, Adw.LengthUnit.SP
+ );
+- var breakpoint = new Adw.Breakpoint (condition);
++ var breakpoint = new Adw.Breakpoint ((owned) condition);
+ breakpoint.add_setter (revealer_box, "halign", Gtk.Align.FILL);
+ breakpoint.add_setter (entry_box_1, "orientation", Gtk.Orientation.VERTICAL);
+ breakpoint.add_setter (entry_box_2, "orientation", Gtk.Orientation.VERTICAL);
Index: patches/patch-src_Views_TabbedBase_vala
===================================================================
RCS file: patches/patch-src_Views_TabbedBase_vala
diff -N patches/patch-src_Views_TabbedBase_vala
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_Views_TabbedBase_vala 1 Oct 2025 15:02:11 -0000
@@ -0,0 +1,12 @@
+Index: src/Views/TabbedBase.vala
+--- src/Views/TabbedBase.vala.orig
++++ src/Views/TabbedBase.vala
+@@ -83,7 +83,7 @@ public class Tuba.Views.TabbedBase : Views.Base {
+ Adw.BreakpointConditionLengthType.MAX_WIDTH,
+ 550, Adw.LengthUnit.SP
+ );
+- var breakpoint = new Adw.Breakpoint (condition);
++ var breakpoint = new Adw.Breakpoint ((owned) condition);
+ breakpoint.add_setter (this, "title-stack-page-visible", true);
+ breakpoint.add_setter (switcher_bar, "reveal", true);
+ add_breakpoint (breakpoint);
--
wbr, Kirill
www/tuba: fix build