Date: Sun, 29 Feb 2004 17:17:49 +0100 (CET) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63532: math/freefem++: unbreaking on alpha. Message-ID: <20040229161749.559B322B9B4@ws90bj.pompo.net> Resent-Message-ID: <200402291620.i1TGKF5t037829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63532 >Category: ports >Synopsis: math/freefem++: unbreaking on alpha. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 29 08:20:15 PST 2004 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD ws90bj.pompo.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Thu Feb 26 22:14:29 CET 2004 thierry@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-040102 i386 >Description: FreeFem++ is marked broken on Alpha. The following patch (from Frédéric Hecht) should fix it, because on Alpha sizeof( KN<Complex>) > 24. Remark: only tested on i386, might break further... >How-To-Repeat: N/A. >Fix: Please apply the following patch: (Note: patch-src::AnyType.hpp is a new file) --- freefem++.diff begins here --- diff -urN math/freefem++.orig/Makefile math/freefem++/Makefile --- math/freefem++.orig/Makefile Thu Feb 26 19:58:30 2004 +++ math/freefem++/Makefile Sun Feb 29 16:14:24 2004 @@ -30,10 +30,6 @@ .include <bsd.port.pre.mk> -.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102 -BROKEN= "Does not compile on alpha 5.x" -.endif - .if ${OSVERSION} < 501103 USE_GCC= 3.2 .endif diff -urN math/freefem++.orig/files/patch-src::AnyType.hpp math/freefem++/files/patch-src::AnyType.hpp --- math/freefem++.orig/files/patch-src::AnyType.hpp Thu Jan 1 01:00:00 1970 +++ math/freefem++/files/patch-src::AnyType.hpp Sun Feb 29 16:13:53 2004 @@ -0,0 +1,12 @@ +--- ./src/AnyType.hpp.orig Sat May 31 11:53:05 2003 ++++ ./src/AnyType.hpp Sun Feb 29 16:13:27 2004 +@@ -5,7 +5,8 @@ + class basicForEachType; + typedef const basicForEachType * aType; + +-typedef unsigned char AnyData[24]; ++//typedef unsigned char AnyData[24]; ++typedef unsigned char AnyData[2*(sizeof(void*)+2*sizeof(double))]; + + extern map<const string,basicForEachType *> map_type; + --- freefem++.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229161749.559B322B9B4>