---- gdm-3.38.0/meson.build.orig 2020-09-11 22:34:27.208127000 +0200
-+++ gdm-3.38.0/meson.build 2020-09-17 20:33:51.861967317 +0200
-@@ -70,23 +70,8 @@
- dependency('xau'),
- ],
- )
+--- gdm-41.3/meson.build.orig 2022-01-12 21:07:22.248332481 +0100
++++ gdm-41.3/meson.build 2022-01-12 21:14:05.232427434 +0100
+@@ -72,23 +72,10 @@ x_deps = declare_dependency(
+ # Xserver 1.17 & later default to -nolisten and require -listen for remote access
+ xserver_deps = dependency('xorg-server', version : '>=1.17', required : false)
+ xserver_has_listen = xserver_deps.found()
-find_x_server_script = find_program('build-aux/find-x-server.sh', native: true)
-find_x_server_out = run_command(find_x_server_script).stdout().strip()
-if find_x_server_out != ''
- i = i + 1
- endforeach
-else
-- # what to do, what to do, this is wrong, but this just sets the
-- # defaults, perhaps this user is cross compiling or some such
-- x_path = '/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin'
+if true
+ # what to do, what to do, this is wrong, but this just sets the
+ # defaults, perhaps this user is cross compiling or some such
+- x_path = '/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin'
+ x_path = '/usr/bin'
x_bin = '/usr/bin/X'
endif