diff -Nru ayatana-indicator-datetime-0.8.2/debian/changelog ayatana-indicator-datetime-0.8.2/debian/changelog --- ayatana-indicator-datetime-0.8.2/debian/changelog 2021-02-03 11:36:06.000000000 +0000 +++ ayatana-indicator-datetime-0.8.2/debian/changelog 2021-10-07 00:31:21.000000000 +0000 @@ -1,3 +1,9 @@ +ayatana-indicator-datetime (0.8.2-1+rpi1) bookworm-staging; urgency=medium + + * Apply upstream patch to fix FTBFS (Closes: 995279) + + -- Peter Michael Green Thu, 07 Oct 2021 00:31:21 +0000 + ayatana-indicator-datetime (0.8.2-1) unstable; urgency=medium * New upstream release. diff -Nru ayatana-indicator-datetime-0.8.2/debian/patches/fix-ftbfs.patch ayatana-indicator-datetime-0.8.2/debian/patches/fix-ftbfs.patch --- ayatana-indicator-datetime-0.8.2/debian/patches/fix-ftbfs.patch 1970-01-01 00:00:00.000000000 +0000 +++ ayatana-indicator-datetime-0.8.2/debian/patches/fix-ftbfs.patch 2021-10-07 00:30:26.000000000 +0000 @@ -0,0 +1,35 @@ +commit 19923632dad08eaa7db476d77035db5135abb9d9 +Author: Olivier Tilloy +Date: Thu Mar 4 23:30:27 2021 +0100 + + Fix a couple of build failures on Ubuntu hirsute: + + - src/engine-eds.cpp: use i_cal_component_free for ICalComponent + - src/exporter.cpp: drop unnecessary G_OBJECT cast + +diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp +index f8a4ce8..277c090 100644 +--- a/src/engine-eds.cpp ++++ b/src/engine-eds.cpp +@@ -1210,7 +1210,7 @@ private: + } + } + +- g_clear_pointer(&icc, icalcomponent_free); ++ g_clear_pointer(&icc, i_cal_component_free); + } + } + +diff --git a/src/exporter.cpp b/src/exporter.cpp +index 305adfb..ea514c0 100644 +--- a/src/exporter.cpp ++++ b/src/exporter.cpp +@@ -162,7 +162,7 @@ private: + + void on_bus_acquired(GDBusConnection* bus, const gchar* /*name*/) + { +- m_bus = static_cast(g_object_ref(G_OBJECT(bus))); ++ m_bus = static_cast(g_object_ref(bus)); + + // export the alarm properties + GError * error = nullptr; diff -Nru ayatana-indicator-datetime-0.8.2/debian/patches/series ayatana-indicator-datetime-0.8.2/debian/patches/series --- ayatana-indicator-datetime-0.8.2/debian/patches/series 2021-02-03 11:36:06.000000000 +0000 +++ ayatana-indicator-datetime-0.8.2/debian/patches/series 2021-10-07 00:30:52.000000000 +0000 @@ -1 +1,2 @@ 0001_port-to-lomiri-url-dispatcher.patch +fix-ftbfs.patch