View | Details | Raw Unified | Return to bug 139444
Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 2-8 Link Here
2
# Date created:		Sat 26 mar 2005
2
# Date created:		Sat 26 mar 2005
3
# Whom:			Thierry Thomas <thierry@pompo.net>
3
# Whom:			Thierry Thomas <thierry@pompo.net>
4
#
4
#
5
# $FreeBSD: ports/math/freemat/Makefile,v 1.29 2009/09/13 00:07:49 gerald Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=		FreeMat
8
PORTNAME=		FreeMat
Lines 21-27 Link Here
21
			pcre.0:${PORTSDIR}/devel/pcre
21
			pcre.0:${PORTSDIR}/devel/pcre
22
BUILD_DEPENDS=		pkg-config:${PORTSDIR}/devel/pkg-config
22
BUILD_DEPENDS=		pkg-config:${PORTSDIR}/devel/pkg-config
23
23
24
BROKEN=			does not compile
24
#BROKEN=			does not compile
25
25
26
.ifdef WITH_MPI
26
.ifdef WITH_MPI
27
IGNORE=			no MPI support at the moment
27
IGNORE=			no MPI support at the moment
Lines 32-37 Link Here
32
32
33
USE_GL=			yes
33
USE_GL=			yes
34
USE_QT_VER=		4
34
USE_QT_VER=		4
35
USE_GCC=		4.3+
35
USE_GMAKE=		yes
36
USE_GMAKE=		yes
36
QT_COMPONENTS=		gui network opengl moc_build rcc_build uic_build xml svg
37
QT_COMPONENTS=		gui network opengl moc_build rcc_build uic_build xml svg
37
GNU_CONFIGURE=		yes
38
GNU_CONFIGURE=		yes
(-)files/patch-libs_libCore_MatIO.hpp (+10 lines)
Line 0 Link Here
1
--- libs/libCore/MatIO.hpp.orig	2009-10-08 10:01:46.000000000 +0700
2
+++ libs/libCore/MatIO.hpp	2009-10-08 10:20:30.000000000 +0700
3
@@ -4,6 +4,7 @@
4
 #include "Array.hpp"
5
 #include <string>
6
 #include <zlib.h>
7
+#include <stdio.h>
8
 
9
 using namespace std;
10
 
(-)files/patch-libs_libFreeMat_Array.cpp (+11 lines)
Line 0 Link Here
1
--- libs/libFreeMat/Array.cpp.orig	2009-10-08 09:37:54.000000000 +0700
2
+++ libs/libFreeMat/Array.cpp	2009-10-08 09:38:20.000000000 +0700
3
@@ -27,6 +27,8 @@
4
 #include <math.h>
5
 #include <stdio.h>
6
 #include <set>
7
+#include <algorithm>
8
+#include <functional>
9
 
10
 #include "FunctionDef.hpp"
11
 #include "NumericArray.hpp"
(-)files/patch-libs_libFreeMat_IEEEFP.cpp (+10 lines)
Line 0 Link Here
1
--- libs/libFreeMat/IEEEFP.cpp.orig	2009-10-08 09:42:00.000000000 +0700
2
+++ libs/libFreeMat/IEEEFP.cpp	2009-10-08 09:43:46.000000000 +0700
3
@@ -17,6 +17,7 @@
4
  *
5
  */
6
 #include "IEEEFP.hpp"
7
+#include <stdio.h>
8
 
9
 static bool endianDetected = false;
10
 static bool bigEndian = false;
(-)files/patch-libs_libFreeMat_Malloc.cpp (+10 lines)
Line 0 Link Here
1
--- libs/libFreeMat/Malloc.cpp.orig	2009-10-08 09:45:59.000000000 +0700
2
+++ libs/libFreeMat/Malloc.cpp	2009-10-08 09:47:56.000000000 +0700
3
@@ -21,6 +21,7 @@
4
 #include "Exception.hpp"
5
 #include <stdlib.h>
6
 #include <stdio.h>
7
+#include <cstring>
8
 
9
 
10
 void* Malloc(int count) {
(-)files/patch-libs_libFreeMat_Scanner.cpp (+10 lines)
Line 0 Link Here
1
--- libs/libFreeMat/Scanner.cpp.orig	2009-10-08 09:51:15.000000000 +0700
2
+++ libs/libFreeMat/Scanner.cpp	2009-10-08 09:51:25.000000000 +0700
3
@@ -4,6 +4,7 @@
4
 #include <stdlib.h>
5
 #include <ctype.h>
6
 #include "Exception.hpp"
7
+#include <algorithm>
8
 
9
 extern string fm_reserved[];
10
 extern int fm_reserved_count;
(-)files/patch-libs_libFreeMat_Scope.hpp (+10 lines)
Line 0 Link Here
1
--- libs/libFreeMat/Scope.hpp.orig	2009-10-08 09:40:36.000000000 +0700
2
+++ libs/libFreeMat/Scope.hpp	2009-10-08 09:40:55.000000000 +0700
3
@@ -25,6 +25,7 @@
4
  */
5
 #include <string>
6
 #include <QMutex>
7
+#include <algorithm>
8
 
9
 #include "Array.hpp"
10
 #include "SymbolTable.hpp"
(-)files/patch-libs_libFreeMat_Token.cpp (+10 lines)
Line 0 Link Here
1
--- libs/libFreeMat/Token.cpp.orig	2009-10-08 09:49:12.000000000 +0700
2
+++ libs/libFreeMat/Token.cpp	2009-10-08 09:50:12.000000000 +0700
3
@@ -2,6 +2,7 @@
4
 #include "Serialize.hpp"
5
 #include <iostream>
6
 #include <errno.h>
7
+#include <climits>
8
 
9
 // These must appear as sequential token numbers
10
 string fm_reserved[22] = {

Return to bug 139444