File n_xorg-wrapper-rename-Xorg.patch of Package xorg-x11-server.20251128201126

Index: xorg-server-21.1.21/hw/xfree86/xorg-wrapper.c
===================================================================
--- xorg-server-21.1.21.orig/hw/xfree86/xorg-wrapper.c
+++ xorg-server-21.1.21/hw/xfree86/xorg-wrapper.c
@@ -373,7 +373,7 @@ int main(int argc, char *argv[])
         }
     }
 
-    snprintf(buf, sizeof(buf), "%s/Xorg", SUID_WRAPPER_DIR);
+    snprintf(buf, sizeof(buf), "%s/Xorg.bin", SUID_WRAPPER_DIR);
 
     /* Check if the server is executable by our real uid */
     if (access(buf, X_OK) != 0) {
Index: xorg-server-21.1.21/hw/xfree86/Xorg.sh.in
===================================================================
--- xorg-server-21.1.21.orig/hw/xfree86/Xorg.sh.in
+++ xorg-server-21.1.21/hw/xfree86/Xorg.sh.in
@@ -7,5 +7,5 @@ basedir=@SUID_WRAPPER_DIR@
 if [ -x "$basedir"/Xorg.wrap ]; then
 	exec "$basedir"/Xorg.wrap "$@"
 else
-	exec "$basedir"/Xorg "$@"
+	exec "$basedir"/Xorg.bin "$@"
 fi
openSUSE Build Service is sponsored by