summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Peng <peng.zhang1.cn@windriver.com>2026-03-24 20:59:24 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-03-24 09:13:52 -0700
commitf53ab756f2fdad0ba9c823df625e3f17e7159cc5 (patch)
treef058a01f48dff11bbf5116ec11af0e4be400d95d
parent387e7256bc43df664dded0db0f4d5ba752445b65 (diff)
downloadmeta-openembedded-f53ab756f2fdad0ba9c823df625e3f17e7159cc5.tar.gz
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 <libxfce4panel/libxfce4panel.h> instead of individual headers like <libxfce4panel/xfce-panel-plugin.h>. 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 <peng.zhang1.cn@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb2
1 files changed, 2 insertions, 0 deletions
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"
5 5
6inherit xfce-panel-plugin 6inherit xfce-panel-plugin
7 7
8CFLAGS += "-DLIBXFCE4PANEL_COMPILATION"
9
8SRC_URI[sha256sum] = "6b2eeb79fb586868737426cbd2a4cd43c7f8c58507d8a2f578e0150187cc00b0" 10SRC_URI[sha256sum] = "6b2eeb79fb586868737426cbd2a4cd43c7f8c58507d8a2f578e0150187cc00b0"