summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-19 11:57:34 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-19 12:02:26 +0100
commit341a7dde59ecd3d8ed1caed3cc49ac73b10cabcf (patch)
tree24eea27e0be343a5cc3e8eb78949253109068869 /xfce-base/exo
parentdev-libs/libstrophe: add 0.13.0 (diff)
downloadgentoo-341a7dde59ecd3d8ed1caed3cc49ac73b10cabcf.tar.gz
gentoo-341a7dde59ecd3d8ed1caed3cc49ac73b10cabcf.tar.bz2
gentoo-341a7dde59ecd3d8ed1caed3cc49ac73b10cabcf.zip
xfce-base/exo: Remove stray include to fix USE=-X build
Closes: https://bugs.gentoo.org/924222 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base/exo')
-rw-r--r--xfce-base/exo/exo-4.19.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/xfce-base/exo/exo-4.19.0.ebuild b/xfce-base/exo/exo-4.19.0.ebuild
index 9c4e255479b9..e0250d7c3741 100644
--- a/xfce-base/exo/exo-4.19.0.ebuild
+++ b/xfce-base/exo/exo-4.19.0.ebuild
@@ -30,6 +30,13 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ # stray include, breaks USE=-X
+ # https://gitlab.xfce.org/xfce/exo/-/issues/111
+ sed -i -e '/gdkx\.h/d' exo-open/main.c || die
+ default
+}
+
src_install() {
default
find "${D}" -name '*.la' -delete || die