diff -Nru gnome-system-tools-3.0.0/debian/changelog gnome-system-tools-3.0.0/debian/changelog --- gnome-system-tools-3.0.0/debian/changelog 2024-03-31 06:12:52.000000000 +0000 +++ gnome-system-tools-3.0.0/debian/changelog 2024-04-03 22:38:40.000000000 +0000 @@ -1,3 +1,10 @@ +gnome-system-tools (3.0.0-9.1ubuntu4) noble; urgency=medium + + * d/p/implicit_declaration.patch: add missing declarations to resolve + ftbfs (LP: #2060165). + + -- Vladimir Petko Thu, 04 Apr 2024 11:38:40 +1300 + gnome-system-tools (3.0.0-9.1ubuntu3) noble; urgency=medium * No-change rebuild for CVE-2024-3094 diff -Nru gnome-system-tools-3.0.0/debian/patches/implicit_declaration.patch gnome-system-tools-3.0.0/debian/patches/implicit_declaration.patch --- gnome-system-tools-3.0.0/debian/patches/implicit_declaration.patch 1970-01-01 00:00:00.000000000 +0000 +++ gnome-system-tools-3.0.0/debian/patches/implicit_declaration.patch 2024-04-03 22:38:40.000000000 +0000 @@ -0,0 +1,29 @@ +Description: add missing declarations + Add missing headers and declarations to resolve -Werror=implicit-function-declaration. +Author: Vladimir Petko +Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/gnome-system-tools/+bug/2060165 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066239 +Forwarded: no +Last-Update: 2024-04-04 + +--- a/src/shares/shares-tool.h ++++ b/src/shares/shares-tool.h +@@ -58,6 +58,7 @@ + }; + + GstSharesTool *gst_shares_tool_new (void); ++GType gst_shares_tool_get_type(); + + + G_END_DECLS +--- a/src/shares/shares-tool.c ++++ b/src/shares/shares-tool.c +@@ -23,6 +23,8 @@ + #include "users-table.h" + #include + #include "gst.h" ++#include "table.h" ++#include "share-settings.h" + + static void gst_shares_tool_class_init (GstSharesToolClass *class); + static void gst_shares_tool_init (GstSharesTool *tool); diff -Nru gnome-system-tools-3.0.0/debian/patches/series gnome-system-tools-3.0.0/debian/patches/series --- gnome-system-tools-3.0.0/debian/patches/series 2020-04-08 13:25:53.000000000 +0000 +++ gnome-system-tools-3.0.0/debian/patches/series 2024-04-03 22:38:40.000000000 +0000 @@ -23,3 +23,4 @@ max_group_name_32_chars.patch remove_g_thread_init.patch 70_gst-yelp.patch +implicit_declaration.patch