From d5bb2902ec53070ac2db82f77f45f1e0fc3ab160 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 27 Dec 2025 23:54:41 +0100 Subject: [PATCH] package/matchbox-panel: add patch fixing GCC 14.x build issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: mb-applet-launcher.c: In function ‘get_launch_window’: mb-applet-launcher.c:269:18: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 269 | time_t stime = time(NULL); | ^~~~ No autobuilder failures, it was hidden by other failures. Signed-off-by: Thomas Petazzoni --- ...applet-launcher.c-add-missing-time.h.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/matchbox-panel/0005-applets-mb-applet-launcher.c-add-missing-time.h.patch diff --git a/package/matchbox-panel/0005-applets-mb-applet-launcher.c-add-missing-time.h.patch b/package/matchbox-panel/0005-applets-mb-applet-launcher.c-add-missing-time.h.patch new file mode 100644 index 0000000000..999394157d --- /dev/null +++ b/package/matchbox-panel/0005-applets-mb-applet-launcher.c-add-missing-time.h.patch @@ -0,0 +1,36 @@ +From 7608e4f755b1fb3a99c387c58f79b0c4b6aadfbe Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 27 Dec 2025 23:53:23 +0100 +Subject: [PATCH] applets/mb-applet-launcher.c: add missing +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + +mb-applet-launcher.c: In function ‘get_launch_window’: +mb-applet-launcher.c:269:18: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] + 269 | time_t stime = time(NULL); + | ^~~~ + +Signed-off-by: Thomas Petazzoni +Upstream: N/A, dead +--- + applets/mb-applet-launcher.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/applets/mb-applet-launcher.c b/applets/mb-applet-launcher.c +index 08a6a10..f7685de 100644 +--- a/applets/mb-applet-launcher.c ++++ b/applets/mb-applet-launcher.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #ifdef USE_LIBSN + #define SN_API_NOT_YET_FROZEN 1 +-- +2.52.0 +