xinit/xinit-tolerant-hostname-changes.patch
Stefan Dirsch 3bb28eaf77 - Fixed some more spacing and minor issues in adapted patches
- Fixed some spacing and single quote vs backtick issues
  in patches 

- Corrections to variable names in xinit-suse.patch and
  xinit-tolerant-hostname-changes.patch 

- Update to version 1.3.4:
  + Changes from 1.3.3
    - Fix warnings about parameters to startServer & startClient
      shadowing globals
    - Pass files to cpp via CLI arg instead of stdin to workaround
      gcc 4.8 change (fdo#69439) 
    - Remove unixware / sco support
    - Bump required util-macros version to 1.19
    - Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing
      cpp files
    - Under Linux start X on the current VT (rh#806491)
    - startx; Pass vtX as long as the user did not specify one
    - configure: Drop AM_MAINTAINER_MODE
    - autogen.sh: Honor NOCONFIGURE=1
    - startx: Make the bugzilla reference in a comment survive cpp
      processing (fdo#83019)
    - Remove hardcoded path to OpenSSL for OpenBSD
  + Patches refactored/renamed for version change
  + Added:
    - xinit-client-session.patch
    - xinit-tolerant-hostname-changes.patch
    - xinit-suse.patch
    - xinit-1.3.4.tar.bz2
  + Modified:
    - xinit-client-session.patch
  + Dropped:
    - xinit-tolerant-hostname-changes.diff
    - xinit-suse.diff
    - xinit-1.3.3.tar.bz2

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xinit?expand=0&rev=19
2015-01-21 09:42:12 +00:00

13 lines
474 B
Diff

Index: xinit-1.3.4/startx.cpp
===================================================================
--- xinit-1.3.4.orig/startx.cpp
+++ xinit-1.3.4/startx.cpp
@@ -408,6 +408,7 @@ fi
XCOMM handle TCP port 6000
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
serverargs="$serverargs -nolisten tcp"
+export XAUTHLOCALHOSTNAME=`hostname`
#if defined(__APPLE__) || defined(__CYGWIN__)
eval XINIT \"$client\" $clientargs -- \"$server\" $display $serverargs