xfce-extra/xfce4-smartbookmark-plugin: Backport panel 4.15 buildfix
authorMichał Górny <mgorny@gentoo.org>
Sun, 20 Oct 2019 16:19:00 +0000 (18:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 20 Oct 2019 16:42:54 +0000 (18:42 +0200)
Closes: https://bugs.gentoo.org/698118
Signed-off-by: Michał Górny <mgorny@gentoo.org>
xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.5.1.ebuild

index 9499b8c94ffa5adcc3b66291b4580554b086114c..0210eef60a4b962f939e788ff85cbd9e3b05d740 100644 (file)
@@ -24,6 +24,10 @@ DOCS=( AUTHORS ChangeLog NEWS README )
 src_prepare() {
        # substitute default bugtracker
        sed -i -e '/bugs/s:bugs\.debian:bugs.gentoo:' src/smartbookmark.c || die
+       # fix build failure w/ xfce4-panel-4.15.0
+       # https://git.xfce.org/panel-plugins/xfce4-smartbookmark-plugin/commit/?id=856d73b51f5d237d3cf6792f5e9f55220e5facf1
+       sed -i -e 's@<libxfce4panel/xfce-panel-plugin\.h>@<libxfce4panel/libxfce4panel.h>@' \
+               src/smartbookmark.c || die
        default
 }