xinit: fix fs25361.patch

This commit is contained in:
Alessio Sergi 2018-03-26 19:04:53 +02:00
parent 7737976464
commit 035c9a7a65
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
+ for displayname in $authdisplay $hostname/unix$authdisplay; do
authcookie=`XAUTH list "$displayname" @@
- | 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
XAUTH -q << EOF
add $displayname . $mcookie

View file

@ -1,7 +1,7 @@
# Template build file for 'xinit'.
pkgname=xinit
version=1.4.0
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-xinitdir=/etc/X11/xinit"
hostmakedepends="pkg-config"