Date: Thu, 4 Sep 2003 15:55:01 -0400 From: David Hill <david@wmol.com> To: Jeremy Nelson <jnelson@prbh.org> Cc: ports@freebsd.org Subject: Re: epic4 port broken Message-ID: <20030904195501.GE648@phobia.ms> In-Reply-To: <200309041947.h84JlgGV061536@prbh.org> References: <20030904174855.GC648@phobia.ms> <200309041947.h84JlgGV061536@prbh.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 04, 2003 at 02:47:42PM -0500, Jeremy Nelson wrote: > In article <20030904174855.GC648@phobia.ms> you posted: > >the epic4 port does not build on 5.1-RELEASE. > >gcc 3.3.1 does not like the code :). > > > >In file included from ../include/irc.h:27, > > from status.c:13: > >../include/irc_std.h:126:1: warning: "alloca" redefined > >In file included from ../include/irc_std.h:19, > > from ../include/irc.h:27, > > from status.c:13: > >/usr/include/stdlib.h:236:1: warning: this is the location of the > >previous definition > >status.c:43:32: pasting "*" and "status_nickname" does not give a valid > >preprocessing token > [snip] > > Try the following patch -- you may need to fix it up to repair things like > tab damage and long line breaks, etc. > > *** status.c.orig Thu Sep 4 14:45:53 2003 > --- status.c Thu Sep 4 14:46:03 2003 > *************** > *** 36,42 **** > * Maximum number of "%" expressions in a status line format. If you change > * this number, you must manually change the sprintf() in make_status > */ > ! #define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key) > #define MAX_FUNCTIONS 40 > #define MAX_STATUS_USER 39 > > --- 36,42 ---- > * Maximum number of "%" expressions in a status line format. If you change > * this number, you must manually change the sprintf() in make_status > */ > ! #define STATUS_FUNCTION(x) static Char * x (Window *window, int map, int key) > #define MAX_FUNCTIONS 40 > #define MAX_STATUS_USER 39 > > Jeremy (upstream vendor) fixes the status.c problem. but now i get. cc -O -pipe -mcpu=pentiumpro -I./../include -I../include -c words.c In file included from ../include/irc.h:27, from words.c:12: ../include/irc_std.h:126:1: warning: "alloca" redefined In file included from ../include/irc_std.h:19, from ../include/irc.h:27, from words.c:12: /usr/include/stdlib.h:236:1: warning: this is the location of the previous defin ition sh info.c.sh cc -O -pipe -mcpu=pentiumpro -I./../include -I../include -c info.c info.c:23:112: pasting ""Compiled by "" and "USER" does not give a valid preproc essing token info.c:23:112: pasting "USER" and ""@xxx.myhostname.org on Thu Sep 4 2003 at 15:52 :38 EDT"" does not give a valid preprocessing token *** Error code 1 Stop in /usr/ports/irc/epic4/work/epic4-1.0.1/source. *** Error code 1 Stop in /usr/ports/irc/epic4/work/epic4-1.0.1. *** Error code 1 Stop in /usr/ports/irc/epic4.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030904195501.GE648>