commit:     341a7dde59ecd3d8ed1caed3cc49ac73b10cabcf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 10:57:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 11:02:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341a7dde

xfce-base/exo: Remove stray include to fix USE=-X build

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

 xfce-base/exo/exo-4.19.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

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

Reply via email to