Trying to upgrade conky, I got this message: ------------------------------------------------------------------------------ cc -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -march=athlon-mp -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -Wall -W -MT freebsd.o -MD -MP -MF .deps/freebsd.Tpo -c -o freebsd.o freebsd.c freebsd.c: In function `get_apm_adapter': freebsd.c:843: error: `out' undeclared (first use in this function) freebsd.c:843: error: (Each undeclared identifier is reported only once freebsd.c:843: error: for each function it appears in.) freebsd.c: At top level: .. *** Error code 1 Stop in /usr/ports/sysutils/conky/work/conky-1.4.6/src. *** Error code 1 Stop in /usr/ports/sysutils/conky/work/conky-1.4.6/src. *** Error code 1 Stop in /usr/ports/sysutils/conky/work/conky-1.4.6. *** Error code 1 Stop in /usr/ports/sysutils/conky. ------------------------------------------------------------------------------ Fix: I've modified the file files/patch-src-freebsd.c Patch attached with submission follows: How-To-Repeat: cd /usr/ports/sysutils/conky make WITH_XFT=1 WITHOUT_SETI=1
Responsible Changed From-To: freebsd-ports-bugs->novel Over to maintainer
It builds fine on my FreeBSD box and on tinderbox as well: http://tb3.droso.net/logs/6-novel/conky-1.4.6.log Roman Bogorodskiy
> It builds fine on my FreeBSD box and on tinderbox as well: > > http://tb3.droso.net/logs/6-novel/conky-1.4.6.log > > Roman Bogorodskiy > Platform?
The build may succeed on 6.2 (w/ gcc 3.x) but fails on -current (w/ gcc 4.x). Plus, gcc-isms left aside, use of the undeclared variable 'out' is an error per my C books. \n\n
> The build may succeed on 6.2 (w/ gcc 3.x) You should have looked at my environment ;) > but fails on -current (w/ gcc 4.x). ...on i386, I guess. cheers
novel 2007-08-21 18:31:59 UTC FreeBSD ports repository Modified files: sysutils/conky/files patch-src-freebsd.c Log: Fix build on i386. PR: 115642 Submitted by: Barbara <barbara.xxx1975@libero.it> Revision Changes Path 1.12 +10 -1 ports/sysutils/conky/files/patch-src-freebsd.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!