Date: Tue, 4 Nov 2003 14:09:13 +1100 From: "Tim Hoban" <tim@e-easy.com.au> To: <ports@freebsd.org> Subject: Freebsd-games patches... Message-ID: <00f301c3a281$060ecce0$030aa8c0@corp.eeasy.com.au>
next in thread | raw e-mail | index | archive | help
The game Hack is busted for FreeBSD 5 CURRENT. I offer two possible fixes: Index: hack.unix.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/ports/games/freebsd-games/work/freebsd-games-5.0/cvs/hack/hack.unix.= c,v retrieving revision 1.10 diff -u -r1.10 hack.unix.c --- hack.unix.c 23 May 2002 00:38:07 -0000 1.10 +++ hack.unix.c 4 Nov 2003 01:32:36 -0000 @@ -86,7 +86,7 @@ /* old version - for people short of space */ char *np; =20 - name =3D "/usr/games/hide/hack"; + name =3D "/usr/local/bin/hack"; if(stat(name, &hbuf)) error("Cannot get status of %s.", (np =3D rindex(name, '/')) ? np+1 : name); Or: --- Makefile Tue Nov 4 14:13:06 2003 +++ Makefile.old Tue Nov 4 14:10:53 2003 @@ -59,6 +59,6 @@ @${CP} ${FILESDIR}/misc.h ${WRKSRC}/sail @${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' -or -name '*.6' -or \ -name 'index' | ${XARGS} ${REINPLACE_CMD} -e \ - 's|share/games|local/share/games|g ; s|games/hide|local/bin|g' \ + 's|share/games|local/share/games|g' \ =20 .include <bsd.port.mk> E-easy 15 Wellington St. Launceston TAS 7250 Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 =20 Web: http://www.e-easy.com.au
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f301c3a281$060ecce0$030aa8c0>