Date: Sun, 21 Nov 2004 19:34:21 +0800 (CST) From: Horance Chou <horance@freera.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74195: fix build error of devel/swarm for gcc 3.4 Message-ID: <20041121113421.87B4C1088A6@gaia.freera.net> Resent-Message-ID: <200411211140.iALBeVMw022017@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74195 >Category: ports >Synopsis: fix build error of devel/swarm for gcc 3.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 21 11:40:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Horance Chou >Release: FreeBSD 5.3-STABLE i386 >Organization: Free Era Network >Environment: System: FreeBSD gaia.freera.net 5.3-STABLE FreeBSD 5.3-STABLE #35: Tue Nov 9 07:39:15 CST 2004 horance@gaia.freera.net:/usr/obj/usr/src/sys/GAIA i386 # gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 >Description: fix build error of devel/swarm for gcc 3.4 >How-To-Repeat: cd /usr/ports/devel/swarm make >Fix: apply following patch, new file swarm/files/patch-src::defobj::defobj.h created *NOTE* this ports will be still not build because the bug of gcc 3.4.2 Objective-C compiler described in pr 'gnu/74193'. Please test this fix after gnu/74193 was applied. -------------------------------------------------------------------- diff -ruN swarm.orig/Makefile swarm/Makefile --- swarm.orig/Makefile Sun Nov 21 09:27:48 2004 +++ swarm/Makefile Sun Nov 21 19:19:31 2004 @@ -18,8 +18,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ BLT24.3:${PORTSDIR}/x11-toolkits/blt -BROKEN= Does not compile - ONLY_FOR_ARCHS= i386 USE_JAVA= 1.3+ diff -ruN swarm.orig/files/patch-src::defobj::defobj.h swarm/files/patch-src::defobj::defobj.h --- swarm.orig/files/patch-src::defobj::defobj.h Thu Jan 1 08:00:00 1970 +++ swarm/files/patch-src::defobj::defobj.h Sun Nov 21 08:59:09 2004 @@ -0,0 +1,11 @@ +--- src/defobj/defobj.h.orig Sun Nov 21 08:55:20 2004 ++++ src/defobj/defobj.h Sun Nov 21 08:55:43 2004 +@@ -676,7 +676,7 @@ + //#: macro to raise Warning or Error with source location strings + #define raiseEvent( eventType, formatString, args... ) \ + [eventType raiseEvent: \ +-"\r" __FUNCTION__, __FILE__, __LINE__, formatString , ## args] ++"\r", __FUNCTION__, __FILE__, __LINE__, formatString , ## args] + @end + + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041121113421.87B4C1088A6>