do not use rpath with staging dir information
[openadk.git] / package / xinit / patches / patch-startx_cpp
blobcf47ce9b44338acb06307c7bc65595ddadde1396
1 --- xinit-1.2.1.orig/startx.cpp 2010-03-15 23:35:56.000000000 +0100
2 +++ xinit-1.2.1/startx.cpp      2010-12-13 17:44:35.000000000 +0100
3 @@ -242,18 +242,7 @@ if [ x"$enable_xauth" = x1 ] ; then
4      removelist=
5  
6      XCOMM set up default Xauth info for this machine
7 -    case `uname` in
8 -    Linux*)
9 -        if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
10 -            hostname=`hostname -f`
11 -        else
12 -            hostname=`hostname`
13 -        fi
14 -        ;;
15 -    *)
16 -        hostname=`hostname`
17 -        ;;
18 -    esac
19 +    hostname=`hostname`
21      authdisplay=${display:-:0}
22  #if defined(HAS_COOKIE_MAKER) && defined(MK_COOKIE)
23 @@ -347,5 +336,8 @@ screenrestore
24  kbd_mode -a
25  #endif
27 +xset dpms 0 0 60
28 +xset s 0
30  exit $retval