xfce-extra/xfce4-whiskermenu-plugin: Fix build w/ panel 4.15.0
authorMichał Górny <mgorny@gentoo.org>
Sun, 20 Oct 2019 16:34:26 +0000 (18:34 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 20 Oct 2019 16:42:56 +0000 (18:42 +0200)
Closes: https://bugs.gentoo.org/698116
Signed-off-by: Michał Górny <mgorny@gentoo.org>
xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.3.ebuild

index 2f57d6b053581fa5650e2b3de01c1392d10bf183..5e60422461e2d1db1b281507f04d358b06e0e145 100644 (file)
@@ -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