Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 13:51:36 +0200
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        Stefan Walter <sw@gegenunendlich.de>
Cc:        Thomas Gellekum <Thomas.Gellekum@gmx.de>
Subject:   Re: ports/70020: [MAINTAINER] games/gnocatan: update to 0.8.1.30
Message-ID:  <20040806115136.GM7280@i2.informatik.rwth-aachen.de>
In-Reply-To: <20040806104108.GA10460@kyuzo.dunkelkammer.void>
References:  <200408051231.i75CVbxG074422@freefall.freebsd.org> <20040806104108.GA10460@kyuzo.dunkelkammer.void>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 06. Aug 2004 um 12:41 CEST schrieb Stefan Walter:
> [Cc'd Thomas Gellekum, who happened to also send patches for the update
> yesterday.]
> 
> Volker Stolz, 05.08.04, 14:31h CEST:
> 
> > Does not build on -STABLE. This looks like a GCC 2 vs. 3 issue. Usually,
> > the required patches are very small and can be generated by hand in a jiffy
> 
> Hm...I looked at the code, but I don't see what the cause of this could
> be. My knowledge about the differences between gcc 2 and 3 is limited,
> and I don't have a -STABLE box to test it myself.
> 
> If anyone of you has any hints at what might be causing the build to
> fail, please let me know. If not, I'll send the authors a mail about it.

Simply set USE_GCC=2.95 temporarily in the Makefile or find out what's the
required option for requiring c89-compliance in CFLAGS. The usual source of
complaints is variable declarations NOT at the beginning of blocks, e.g.

...{
   ...
   i=i+1;
   int j = i;
   ...
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
L-Attriwutgrammatik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040806115136.GM7280>