From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 19:23:35 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63D7716A4CE for ; Mon, 3 Nov 2003 19:23:35 -0800 (PST) Received: from mail.vonostingroup.com (ip209-154.digitalrealm.net [216.144.209.154]) by mx1.FreeBSD.org (Postfix) with SMTP id 371F643FB1 for ; Mon, 3 Nov 2003 19:23:34 -0800 (PST) (envelope-from laszlof@vonostingroup.com) Received: (qmail 46736 invoked by uid 89); 4 Nov 2003 03:25:38 -0000 Received: from unknown (HELO pcp01193849pcs.waldlk01.mi.comcast.net) (laszlof@68.62.82.158) by ip209-154.digitalrealm.net with SMTP; 4 Nov 2003 03:25:38 -0000 From: Frank Laszlo To: Tim Hoban 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> Content-Type: text/plain Organization: Message-Id: <1067916211.2673.6.camel@star.vonostingroup.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 03 Nov 2003 22:23:32 -0500 Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: Freebsd-games patches... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 03:23:35 -0000 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 > > > > > > > > > > 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"