Date: 03 Nov 2003 22:23:32 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: Tim Hoban <tim@e-easy.com.au> Cc: ports@freebsd.org Subject: Re: Freebsd-games patches... Message-ID: <1067916211.2673.6.camel@star.vonostingroup.com> In-Reply-To: <1067916146.2673.4.camel@star.vonostingroup.com> References: <00f301c3a281$060ecce0$030aa8c0@corp.eeasy.com.au> <1067916146.2673.4.camel@star.vonostingroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
umm, why is the absolute path to that file in the src anyways? it should be in an include file as a variable, and changed by the configure script. -Frank Laszlo > On Mon, 2003-11-03 at 22:09, Tim Hoban wrote: > > The game Hack is busted for FreeBSD 5 CURRENT. > > > > I offer two possible fixes: > > > > Index: hack.unix.c > > =================================================================== > > 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; > > > > - name = "/usr/games/hide/hack"; > > + name = "/usr/local/bin/hack"; > > if(stat(name, &hbuf)) > > error("Cannot get status of %s.", > > (np = 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' \ > > > > .include <bsd.port.mk> > > > > > > > > > > E-easy > > 15 Wellington St. Launceston TAS 7250 > > Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 > > Web: http://www.e-easy.com.au > > > > > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1067916211.2673.6.camel>