From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 9 02:20:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792E11065670 for ; Fri, 9 Oct 2009 02:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA918FC15 for ; Fri, 9 Oct 2009 02:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n992K5lR019534 for ; Fri, 9 Oct 2009 02:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n992K5Vf019533; Fri, 9 Oct 2009 02:20:05 GMT (envelope-from gnats) Resent-Date: Fri, 9 Oct 2009 02:20:05 GMT Resent-Message-Id: <200910090220.n992K5Vf019533@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stas Timokhin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B44A1065672 for ; Fri, 9 Oct 2009 02:10:06 +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 08DAA8FC17 for ; Fri, 9 Oct 2009 02:10:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n992A5Ui072031 for ; Fri, 9 Oct 2009 02:10:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n992A5DC072016; Fri, 9 Oct 2009 02:10:05 GMT (envelope-from nobody) Message-Id: <200910090210.n992A5DC072016@www.freebsd.org> Date: Fri, 9 Oct 2009 02:10:05 GMT From: Stas Timokhin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/139444: Fix for port math/freemat X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 02:20:05 -0000 >Number: 139444 >Category: misc >Synopsis: Fix for port math/freemat >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 09 02:20:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stas Timokhin >Release: 9.0-Current >Organization: None >Environment: >Description: Fix for build port math/freemat with gcc. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-10-08 09:25:09.000000000 +0700 +++ Makefile 2009-10-09 09:00:21.000000000 +0700 @@ -2,7 +2,7 @@ # Date created: Sat 26 mar 2005 # Whom: Thierry Thomas # -# $FreeBSD: ports/math/freemat/Makefile,v 1.29 2009/09/13 00:07:49 gerald Exp $ +# $FreeBSD$ # PORTNAME= FreeMat @@ -21,7 +21,7 @@ pcre.0:${PORTSDIR}/devel/pcre BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config -BROKEN= does not compile +#BROKEN= does not compile .ifdef WITH_MPI IGNORE= no MPI support at the moment @@ -32,6 +32,7 @@ USE_GL= yes USE_QT_VER= 4 +USE_GCC= 4.3+ USE_GMAKE= yes QT_COMPONENTS= gui network opengl moc_build rcc_build uic_build xml svg GNU_CONFIGURE= yes --- files/patch-libs_libCore_MatIO.hpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libCore_MatIO.hpp 2009-10-08 10:47:34.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libCore/MatIO.hpp.orig 2009-10-08 10:01:46.000000000 +0700 ++++ libs/libCore/MatIO.hpp 2009-10-08 10:20:30.000000000 +0700 +@@ -4,6 +4,7 @@ + #include "Array.hpp" + #include + #include ++#include + + using namespace std; + --- files/patch-libs_libFreeMat_Array.cpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_Array.cpp 2009-10-08 10:48:40.000000000 +0700 @@ -0,0 +1,11 @@ +--- libs/libFreeMat/Array.cpp.orig 2009-10-08 09:37:54.000000000 +0700 ++++ libs/libFreeMat/Array.cpp 2009-10-08 09:38:20.000000000 +0700 +@@ -27,6 +27,8 @@ + #include + #include + #include ++#include ++#include + + #include "FunctionDef.hpp" + #include "NumericArray.hpp" --- files/patch-libs_libFreeMat_IEEEFP.cpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_IEEEFP.cpp 2009-10-08 10:50:15.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libFreeMat/IEEEFP.cpp.orig 2009-10-08 09:42:00.000000000 +0700 ++++ libs/libFreeMat/IEEEFP.cpp 2009-10-08 09:43:46.000000000 +0700 +@@ -17,6 +17,7 @@ + * + */ + #include "IEEEFP.hpp" ++#include + + static bool endianDetected = false; + static bool bigEndian = false; --- files/patch-libs_libFreeMat_Malloc.cpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_Malloc.cpp 2009-10-08 10:51:08.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libFreeMat/Malloc.cpp.orig 2009-10-08 09:45:59.000000000 +0700 ++++ libs/libFreeMat/Malloc.cpp 2009-10-08 09:47:56.000000000 +0700 +@@ -21,6 +21,7 @@ + #include "Exception.hpp" + #include + #include ++#include + + + void* Malloc(int count) { --- files/patch-libs_libFreeMat_Scanner.cpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_Scanner.cpp 2009-10-08 10:51:47.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libFreeMat/Scanner.cpp.orig 2009-10-08 09:51:15.000000000 +0700 ++++ libs/libFreeMat/Scanner.cpp 2009-10-08 09:51:25.000000000 +0700 +@@ -4,6 +4,7 @@ + #include + #include + #include "Exception.hpp" ++#include + + extern string fm_reserved[]; + extern int fm_reserved_count; --- files/patch-libs_libFreeMat_Scope.hpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_Scope.hpp 2009-10-08 10:49:07.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libFreeMat/Scope.hpp.orig 2009-10-08 09:40:36.000000000 +0700 ++++ libs/libFreeMat/Scope.hpp 2009-10-08 09:40:55.000000000 +0700 +@@ -25,6 +25,7 @@ + */ + #include + #include ++#include + + #include "Array.hpp" + #include "SymbolTable.hpp" --- files/patch-libs_libFreeMat_Token.cpp.orig 1970-01-01 07:00:00.000000000 +0700 +++ files/patch-libs_libFreeMat_Token.cpp 2009-10-08 10:51:30.000000000 +0700 @@ -0,0 +1,10 @@ +--- libs/libFreeMat/Token.cpp.orig 2009-10-08 09:49:12.000000000 +0700 ++++ libs/libFreeMat/Token.cpp 2009-10-08 09:50:12.000000000 +0700 +@@ -2,6 +2,7 @@ + #include "Serialize.hpp" + #include + #include ++#include + + // These must appear as sequential token numbers + string fm_reserved[22] = { >Release-Note: >Audit-Trail: >Unformatted: