diff options
Diffstat (limited to 'x11-misc/sux/files/sux-X11R6.patch')
-rw-r--r-- | x11-misc/sux/files/sux-X11R6.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/sux/files/sux-X11R6.patch b/x11-misc/sux/files/sux-X11R6.patch new file mode 100644 index 000000000000..6b345a646965 --- /dev/null +++ b/x11-misc/sux/files/sux-X11R6.patch @@ -0,0 +1,24 @@ +--- a/sux ++++ b/sux +@@ -229,10 +229,10 @@ + # Remove the old cookies. They may cause trouble if we transfer only one + # cookie, e.g. an MIT cookie, and there's still a stale XDM cookie hanging + # around. +- export TERM="/usr/X11R6/bin/xauth -q remove $DISPLAY 2>/dev/null;" ++ export TERM="/usr/bin/xauth -q remove $DISPLAY 2>/dev/null;" + if [ -n "$sux_unix_display" ] + then +- TERM="$TERM /usr/X11R6/bin/xauth -q remove $sux_unix_display;" ++ TERM="$TERM /usr/bin/xauth -q remove $sux_unix_display;" + fi + + # Note that there may be more than one cookie to transfer, hence +@@ -249,7 +249,7 @@ + sux_i=`expr $sux_i + 1` + if [ $sux_i -eq 9 ] + then +- TERM="$TERM | /usr/X11R6/bin/xauth nmerge - ;" ++ TERM="$TERM | /usr/bin/xauth nmerge - ;" + sux_i=0 + fi + done |