diff --git a/srcpkgs/xinit/patches/fs25361.patch b/srcpkgs/xinit/patches/fs25361.patch index 644a63f7aed..861c3938858 100644 --- a/srcpkgs/xinit/patches/fs25361.patch +++ b/srcpkgs/xinit/patches/fs25361.patch @@ -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 diff --git a/srcpkgs/xinit/template b/srcpkgs/xinit/template index c7b4a8e2530..9e2399bd70a 100644 --- a/srcpkgs/xinit/template +++ b/srcpkgs/xinit/template @@ -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"