From nobody@FreeBSD.org  Sat Aug 18 18:45:36 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 73A0F16A46D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Aug 2007 18:45:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DCF3413C465
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Aug 2007 18:45:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7IIjZjj004211
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Aug 2007 18:45:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l7IIjZC9004210;
	Sat, 18 Aug 2007 18:45:35 GMT
	(envelope-from nobody)
Message-Id: <200708181845.l7IIjZC9004210@www.freebsd.org>
Date: Sat, 18 Aug 2007 18:45:35 GMT
From: "Pedro F. Giffuni" <giffunip@tutopia.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fix graphics/xmfract to build on non i386 platforms
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         115615
>Category:       ports
>Synopsis:       Fix graphics/xmfract to build on non i386 platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 18:50:00 GMT 2007
>Closed-Date:    Sun Sep 02 14:26:27 GMT 2007
>Last-Modified:  Sun Sep  2 14:30:01 GMT 2007
>Originator:     Pedro F. Giffuni
>Release:        6.2-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
>Description:
graphics/xmfract is broken on !i386 with gcc 3.4.*, however it builds fine with newer versions of gcc (at least with gcc 4.2.1). While here, also add editres and the proper Motif path.
>How-To-Repeat:
Unfortunately it still doesn't quite work in my system (XCreateImage failed), but it might be a local issue related with using a different compiler for Motif.
>Fix:
diff -ruN xmfract.orig/Makefile xmfract/Makefile
--- xmfract.orig/Makefile	Sat Aug 18 11:48:16 2007
+++ xmfract/Makefile	Sat Aug 18 12:59:56 2007
@@ -19,11 +19,13 @@
 USE_MOTIF=	yes
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--with-editres	\
+	--with-motif="motif_includes=${X11BASE}/include motif_libraries=${X11BASE}/lib"
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} != "i386" && ${OSVERSION} >= 600034
-BROKEN=		Internal compiler error during build on FreeBSD >= 6.0 and !i386
+.if ${ARCH} != "i386" && ${OSVERSION} < 700000
+USE_GCC=4.2+
 .endif
 
 .include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sun Sep 2 14:25:56 UTC 2007 
State-Changed-Why:  
Committed, thanks. Unfortunately it fails to run on my system too, so i 
doubt it is a local issue. I have marked it as IGNORE on !i386 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115615 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115615: commit references a PR
Date: Sun,  2 Sep 2007 14:25:51 +0000 (UTC)

 arved       2007-09-02 14:25:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/xmfract     Makefile 
   Log:
   Unbreak build on !i386 but mark IGNORE, because it fails at runtime
   
   PR:             115615
   Submitted by:   "Pedro F. Giffuni" <giffunip@tutopia.com>
   
   Revision  Changes    Path
   1.16      +5 -2      ports/graphics/xmfract/Makefile
 _______________________________________________
 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"
 
>Unformatted:
