Freebsd-games patches...
Frank Laszlo
laszlof at vonostingroup.com
Mon Nov 3 19:23:35 PST 2003
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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports
mailing list