You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/sux/files/sux-X11R6.patch

25 lines
810 B

--- 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