1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= X Window System initializer
8 HOMEPAGE= https://www.x.org/
12 SITES[main]= XORG/individual/app
13 DISTFILE[1]= xinit-1.4.2.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
24 FPC_EQUIVALENT= x11/xinit
28 INSTALL_TARGET= install-strip
31 ${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure
32 ${REINPLACE_CMD} -e 's|hexdump|/usr/bin/hexdump|' ${WRKSRC}/startx.cpp
33 ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/man/xinit.man
35 [FILE:62:descriptions/desc.single]
36 This package contains xinit, the X Window System initializer.
40 b7d8dc8d22ef9f15985a10b606ee4f2aad6828befa437359934647e88d331f23 156728 xinit-1.4.2.tar.xz
43 [FILE:83:manifests/plist.single]
53 [FILE:1125:patches/patch-startx.cpp]
55 # generate displayname as dictated in the xauth manpage
57 --- startx.cpp.orig 2022-12-03 22:18:43 UTC
59 @@ -168,7 +168,7 @@ while [ x"$1" != x ]; do
61 XCOMM display must be the FIRST server argument
62 if [ x"$serverargs" = x ] && @@
63 - expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then
64 + expr \( "$1" \) : ':[0-9][0-9]*$' > /dev/null 2>&1; then
67 serverargs="$serverargs $1"
68 @@ -287,9 +287,9 @@ EOF
69 XCOMM now add the same credentials to the client authority file
70 XCOMM if '$displayname' already exists do not overwrite it as another
71 XCOMM server may need it. Add them to the '$xserverauthfile' instead.
72 - for displayname in $authdisplay $hostname$authdisplay; do
73 + for displayname in $authdisplay $hostname/unix$authdisplay; do
74 authcookie=`XAUTH list "$displayname" @@
75 - | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
76 + | sed -n "s|.*$displayname[[:space:]*].*[[:space:]*]||p"` 2>/dev/null;
77 if [ "z${authcookie}" = "z" ] ; then
79 add $displayname . $mcookie