From 15fc8ca908c4d1f48e5579a3500dc7e8b9305d35 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Tue, 21 May 2024 13:31:34 +0200 Subject: [PATCH] Remove libXScrnSaver-devel from BuildRequires As @ajax pointed out in an internal discussion, SDL2 loads the symbols for several X11 extensions at runtime (see SDL2/src/video/x11/SDL2_x11dyn.c). That means we should be able to get rid of most of those at build time. For now, let's be conservative and make sure we get rid of at least libXScrnSaver-devel, as that isn't exposed by Xwayland. Resolves: https://issues.redhat.com/browse/RHEL-37559 --- SDL2.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index 11972cd..1a667c4 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -37,7 +37,6 @@ BuildRequires: libX11-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel -BuildRequires: libXScrnSaver-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: systemd-devel