Date: Wed, 30 May 2007 07:51:07 GMT From: Matteo Riondato<matteo@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/113149: [patch] Make graphics/xfig compile with GCC 4.2 Message-ID: <200705300751.l4U7p78w075585@www.freebsd.org> Resent-Message-ID: <200705300800.l4U80DEE006990@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113149 >Category: ports >Synopsis: [patch] Make graphics/xfig compile with GCC 4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 30 08:00:13 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Matteo Riondato >Release: FreeBSD 7-CURRENT >Organization: The FreeBSD Project >Environment: FreeBSD krapfengeist 7.0-CURRENT FreeBSD 7.0-CURRENT #12: Tue May 22 10:53:43 CEST 2007 root@krapfengeist:/usr/obj/usr/src/sys/KRAPFENGEIST i386 >Description: graphics/xfig does not compile with GCC 4.2. It fails with the following error: In file included from d_text.c:26: u_fonts.h:35: error: array type has incomplete element type u_fonts.h:35: error: array type has incomplete element type u_fonts.h:36: error: array type has incomplete element type u_fonts.h:37: error: array type has incomplete element type *** Error code 1 Stop in /usr/ports/graphics/xfig/work/xfig.3.2.4. *** Error code 1 Stop in /usr/ports/graphics/xfig. *** Error code 1 Stop in /usr/ports/graphics/xfig. This is caused by a requirement of GCC which wants structs to be defined before an array of such structs can be declared. >How-To-Repeat: "make install" in graphics/xfig >Fix: Create files/patch-u_fonts.h with a patch to solve the problem. It can be found at http://people.freebsd.org/~matteo/diff/patch-u_fonts.h . >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705300751.l4U7p78w075585>