summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-20 19:33:21 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-20 19:34:14 +0200
commit5f2a5277977f0eabffc407d9eef2fc4b58bc1b40 (patch)
treed75219cbfff2e7a92355e912b3bee2eec8770c85 /xfce-extra/xfce4-wavelan-plugin
parentsys-cluster/slurm: remove primaryuri (diff)
downloadgentoo-5f2a5277977f0eabffc407d9eef2fc4b58bc1b40.tar.gz
gentoo-5f2a5277977f0eabffc407d9eef2fc4b58bc1b40.tar.bz2
gentoo-5f2a5277977f0eabffc407d9eef2fc4b58bc1b40.zip
xfce-extra/xfce4-wavelan-plugin: Fix build w/ panel 4.15
Closes: https://bugs.gentoo.org/698136 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-wavelan-plugin')
-rw-r--r--xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.1.ebuild8
1 files changed, 8 insertions, 0 deletions
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 9648eca0c016..ee23f4668d69 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