FreeBSD Bugzilla – Attachment 100189 Details for
Bug 139444
Fix for port math/freemat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.97 KB, created by
Stas Timokhin
on 2009-10-09 03:20:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Stas Timokhin
Created:
2009-10-09 03:20:04 UTC
Size:
3.97 KB
patch
obsolete
>--- 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 <thierry@pompo.net> > # >-# $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 <string> >+ #include <zlib.h> >++#include <stdio.h> >+ >+ 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 <math.h> >+ #include <stdio.h> >+ #include <set> >++#include <algorithm> >++#include <functional> >+ >+ #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 <stdio.h> >+ >+ 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 <stdlib.h> >+ #include <stdio.h> >++#include <cstring> >+ >+ >+ 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 <stdlib.h> >+ #include <ctype.h> >+ #include "Exception.hpp" >++#include <algorithm> >+ >+ 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 <string> >+ #include <QMutex> >++#include <algorithm> >+ >+ #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 <iostream> >+ #include <errno.h> >++#include <climits> >+ >+ // These must appear as sequential token numbers >+ string fm_reserved[22] = {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 139444
: 100189