xinit: fix fs25361.patch
This commit is contained in:
parent
7737976464
commit
035c9a7a65
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
+ for displayname in $authdisplay $hostname/unix$authdisplay; do
|
+ for displayname in $authdisplay $hostname/unix$authdisplay; do
|
||||||
authcookie=`XAUTH list "$displayname" @@
|
authcookie=`XAUTH list "$displayname" @@
|
||||||
- | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
|
- | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
|
||||||
+ | sed -n "s/.*$displayname\/unix$authdisplay[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
|
+ | sed -n "s/.*$hostname\/unix$authdisplay[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
|
||||||
if [ "z${authcookie}" = "z" ] ; then
|
if [ "z${authcookie}" = "z" ] ; then
|
||||||
XAUTH -q << EOF
|
XAUTH -q << EOF
|
||||||
add $displayname . $mcookie
|
add $displayname . $mcookie
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'xinit'.
|
# Template build file for 'xinit'.
|
||||||
pkgname=xinit
|
pkgname=xinit
|
||||||
version=1.4.0
|
version=1.4.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-xinitdir=/etc/X11/xinit"
|
configure_args="--with-xinitdir=/etc/X11/xinit"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
|
Loading…
Reference in a new issue