From 0334f8711a5f4a354fa9d258cbcd150278cbcb66 Mon Sep 17 00:00:00 2001
From: Ionen Wolkens <ionen@gentoo.org>
Date: Thu, 1 Dec 2022 22:00:00 -0500
Subject: dev-games/godot: avoid at least libX11-1.8.2-r1 for now

See comment's issue links for details.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
---
 dev-games/godot/godot-4.0_beta7.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'dev-games')

diff --git a/dev-games/godot/godot-4.0_beta7.ebuild b/dev-games/godot/godot-4.0_beta7.ebuild
index 918839a123bf..0c1902be556e 100644
--- a/dev-games/godot/godot-4.0_beta7.ebuild
+++ b/dev-games/godot/godot-4.0_beta7.ebuild
@@ -27,6 +27,9 @@ IUSE="
 # disable tests until out of beta, tests themselves are new and can be volatile
 RESTRICT="test"
 
+# libX11 range is temporary while this is being looked into:
+# - https://github.com/godotengine/godot/issues/69352
+# - https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/170
 # dlopen: alsa-lib,dbus,fontconfig,pulseaudio,speech-dispatcher,udev
 RDEPEND="
 	app-arch/zstd:=
@@ -46,7 +49,10 @@ RDEPEND="
 		media-libs/alsa-lib
 		media-libs/libglvnd[X]
 		media-libs/vulkan-loader[X]
-		x11-libs/libX11
+		|| (
+			>x11-libs/libX11-1.8.2-r1
+			<x11-libs/libX11-1.8.2-r1
+		)
 		x11-libs/libXcursor
 		x11-libs/libXext
 		x11-libs/libXi
-- 
cgit v1.2.3-65-gdbad