commit: d31d43da685a5f657cd171953d417c43c5b4cec0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Oct 20 16:34:26 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Oct 20 16:42:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31d43da
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 <AT> gentoo.org> .../xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 2f57d6b0535..5e60422461e 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
