summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-20 18:34:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-20 18:42:56 +0200
commitd31d43da685a5f657cd171953d417c43c5b4cec0 (patch)
tree93b60a740ca5c7a55429eaf2e31924cfd4b1cdc1 /xfce-extra/xfce4-whiskermenu-plugin
parentxfce-extra/xfce4-smartbookmark-plugin: Backport panel 4.15 buildfix (diff)
downloadgentoo-d31d43da685a5f657cd171953d417c43c5b4cec0.tar.gz
gentoo-d31d43da685a5f657cd171953d417c43c5b4cec0.tar.bz2
gentoo-d31d43da685a5f657cd171953d417c43c5b4cec0.zip
xfce-extra/xfce4-whiskermenu-plugin: Fix build w/ panel 4.15.0
Closes: https://bugs.gentoo.org/698116 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-whiskermenu-plugin')
-rw-r--r--xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild
index 2f57d6b05358..5e60422461e2 100644
--- a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild
+++ b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild
@@ -31,6 +31,13 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ # fix build failure w/ xfce4-panel-4.15.0
+ sed -i -e 's@<libxfce4panel/xfce-panel-plugin\.h>@<libxfce4panel/libxfce4panel.h>@' \
+ panel-plugin/register-plugin.c || die
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DENABLE_AS_NEEDED=OFF