package/matchbox-panel: add patch fixing GCC 14.x build issue
commit: https://git.buildroot.net/buildroot/commit/?id=6974ee98f508bcfa96fbb936894ee826c55f0a4d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.02.x
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 <[email protected]>
(cherry picked from commit d5bb2902ec53070ac2db82f77f45f1e0fc3ab160)
Signed-off-by Thomas Perale <[email protected]>
--- ...s-mb-applet-launcher.c-add-missing-time.h.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+)
package/matchbox-panel/0005-applets-mb-applet-launcher.c-add-missing-time.h.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 7608e4f755b1fb3a99c387c58f79b0c4b6aadfbe Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <[email protected]> +Date: Sat, 27 Dec 2025 23:53:23 +0100 +Subject: [PATCH] applets/mb-applet-launcher.c: add missing <time.h> +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 <[email protected]> +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 <sys/types.h> + #include <sys/stat.h> + #include <signal.h> ++#include <time.h> + + #ifdef USE_LIBSN + #define SN_API_NOT_YET_FROZEN 1 +-- +2.52.0 +
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot