xinit/xinit-tolerant-hostname-changes.patch
Stefan Dirsch 64801441cd - Update to version 1.4.3
* Reindent startx after !6
  * Remove Xdmx from suggested Xserver list
  * Mark global variables as static since there's only one source file
  * Clear -Wunused-parameter warnings from clang
  * Use ptrdiff_t to store results of pointer subtraction
  * Use asprintf() if available
  * Don't exit with failure on SIGTERM regardless.
  * darwin: Remove bashism from 10-tmpdirs script
  * Modernized shell scripts
  * startx: Assign XSERVERRC to correct userserverrc
  * add closing quote to /dev/random mcookie hex
- adjusted xinit-suse.patch
- refreshed xinit-client-session.patch
- refreshed xinit-tolerant-hostname-changes.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=71
2025-01-05 22:16:51 +00:00

13 lines
398 B
Diff

Index: xinit-1.4.3/startx.cpp
===================================================================
--- xinit-1.4.3.orig/startx.cpp
+++ xinit-1.4.3/startx.cpp
@@ -412,6 +412,7 @@ fi
XCOMM handle TCP port 6000
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
serverargs="$serverargs -nolisten tcp"
+export XAUTHLOCALHOSTNAME=`hostname`
case "$(uname -s)" in
CYGWIN_NT*|Darwin)