commit:     5f2a5277977f0eabffc407d9eef2fc4b58bc1b40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 17:33:21 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 17:34:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2a5277

xfce-extra/xfce4-wavelan-plugin: Fix build w/ panel 4.15

Closes: https://bugs.gentoo.org/698136
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild 
b/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild
index 9648eca0c01..ee23f4668d6 100644
--- a/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild
+++ b/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild
@@ -21,6 +21,14 @@ DEPEND="${COMMON_DEPEND}
        sys-devel/gettext
        virtual/pkgconfig"
 
+src_prepare() {
+       # fix build failure w/ xfce4-panel-4.15.0
+       # 
https://git.xfce.org/panel-plugins/xfce4-wavelan-plugin/commit/?id=c0033c32ec28bbdd5f735f9b52d212e881eb2219
+       sed -i -e 
's@<libxfce4panel/xfce-panel-plugin\.h>@<libxfce4panel/libxfce4panel.h>@' \
+               panel-plugin/wavelan.c || die
+       default
+}
+
 src_install() {
        default
        find "${D}" -name '*.la' -delete || die

Reply via email to