From f53ab756f2fdad0ba9c823df625e3f17e7159cc5 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Tue, 24 Mar 2026 20:59:24 +0800 Subject: [PATCH] xfce4-datetime-plugin: fix build with xfce4-panel 4.21.x xfce4-panel 4.21.x added include guards to libxfce4panel sub-headers, requiring consumers to include instead of individual headers like . Since there is no new upstream release with this fix, add -DLIBXFCE4PANEL_COMPILATION to CFLAGS as a workaround to bypass the include guard check. Signed-off-by: Zhang Peng Signed-off-by: Khem Raj --- .../datetime/xfce4-datetime-plugin_0.8.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb b/meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb index f025edd4c5..b5837f9e51 100644 --- a/meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb +++ b/meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb @@ -5,4 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" inherit xfce-panel-plugin +CFLAGS += "-DLIBXFCE4PANEL_COMPILATION" + SRC_URI[sha256sum] = "6b2eeb79fb586868737426cbd2a4cd43c7f8c58507d8a2f578e0150187cc00b0"