summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-11 05:39:54 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-11 06:14:16 +0100
commit14f26e09ebd50a2d6c2d55f8ebaf76b2d47861ea (patch)
treeed82666848c70570f9716ea0e8c7c5937f717770 /xfce-base
parentdev-python/toposort: Bump to 1.8 (diff)
downloadgentoo-14f26e09ebd50a2d6c2d55f8ebaf76b2d47861ea.tar.gz
gentoo-14f26e09ebd50a2d6c2d55f8ebaf76b2d47861ea.tar.bz2
gentoo-14f26e09ebd50a2d6c2d55f8ebaf76b2d47861ea.zip
xfce-base/libxfce4windowing: Backport USE=-X build fix
Closes: https://bugs.gentoo.org/890348 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch25
-rw-r--r--xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild4
2 files changed, 29 insertions, 0 deletions
diff --git a/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch b/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch
new file mode 100644
index 000000000000..430d4f05f670
--- /dev/null
+++ b/xfce-base/libxfce4windowing/files/libxfce4windowing-4.19.1-no-x.patch
@@ -0,0 +1,25 @@
+From 19dde29828a6fbc49a3279f5b2943f0b87d54e25 Mon Sep 17 00:00:00 2001
+From: "Brian J. Tarricone" <brian@tarricone.org>
+Date: Tue, 10 Jan 2023 20:26:27 -0800
+Subject: [PATCH] Fix Wayland-only build
+
+Closes #8
+---
+ libxfce4windowing/libxfce4windowing-private.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libxfce4windowing/libxfce4windowing-private.c b/libxfce4windowing/libxfce4windowing-private.c
+index 0d51c45..fc5a3c5 100644
+--- a/libxfce4windowing/libxfce4windowing-private.c
++++ b/libxfce4windowing/libxfce4windowing-private.c
+@@ -24,6 +24,7 @@
+ #include <libwnck/libwnck.h>
+ #include <gdk/gdkx.h>
+ #endif
++#include <gtk/gtk.h>
+
+ #include "libxfce4windowing-private.h"
+ #include "xfw-util.h"
+--
+GitLab
+
diff --git a/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild b/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild
index 2b02ffb55a17..5caade99205f 100644
--- a/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild
+++ b/xfce-base/libxfce4windowing/libxfce4windowing-4.19.1.ebuild
@@ -38,6 +38,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${P}-no-x.patch
+)
+
src_configure() {
local myconf=(
$(use_enable introspection)