From 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe Mon Sep 17 00:00:00 2001 From: root Date: Sat, 29 Dec 2012 02:13:48 -0800 Subject: Sat Dec 29 02:10:20 PST 2012 --- community/catalyst-utils/fglrx-authfile-locations.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/catalyst-utils/fglrx-authfile-locations.patch (limited to 'community/catalyst-utils/fglrx-authfile-locations.patch') diff --git a/community/catalyst-utils/fglrx-authfile-locations.patch b/community/catalyst-utils/fglrx-authfile-locations.patch new file mode 100644 index 000000000..3617e310b --- /dev/null +++ b/community/catalyst-utils/fglrx-authfile-locations.patch @@ -0,0 +1,16 @@ +Index: ati803/common/etc/ati/authatieventsd.sh +=================================================================== +--- ati803/common/etc/ati/authatieventsd.sh ++++ ati803/common/etc/ati/authatieventsd.sh 2008-04-18 23:25:27.000000000 +0300 +@@ -34,8 +34,9 @@ + + # Check xdm/kdm + +- XDM_AUTH_MASK=/var/lib/xdm/authdir/authfiles/A$1* +- XDM_AUTH_FILE=`ls -t $XDM_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file ++ XDM_AUTH_MASK=/var/lib/xdm/authfiles/A$1* ++ KDM_AUTH_MASK=/var/run/xauth/A$1* ++ XDM_AUTH_FILE=`ls -t $XDM_AUTH_MASK $KDM_AUTH_MASK 2>/dev/null | head -n 1` # Choose the newest file + if [ -n "$XDM_AUTH_FILE" ]; then + SERVER_AUTH_FILE=$XDM_AUTH_FILE + DISP_SEARCH_STRING="#ffff#" -- cgit v1.2.3-54-g00ecf