3.2 is a re-release of 3.1 with my RESOURCEDIR diff
also, add patch-libs_libCore_IO_cpp (which was ok steven@ some time ago) if you are using freemat3 on amd64 make sure you've got the latest current with floorf() fix
This commit is contained in:
parent
b3d22fb592
commit
33ea2cdeef
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2007/04/20 19:11:51 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2007/04/22 14:43:41 martynas Exp $
|
||||
|
||||
COMMENT= "environment for rapid engineering and scientific processing"
|
||||
|
||||
V= 3.1
|
||||
V= 3.2
|
||||
DISTNAME= FreeMat-${V}
|
||||
PKGNAME= freemat-${V}
|
||||
|
||||
@ -43,7 +43,6 @@ CONFIGURE_ENV= F77=${FC} \
|
||||
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/amd -I${LOCALBASE}/include/umfpack -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
PKG_CONFIG_LIBDIR="${LOCALBASE}/lib/qt4"
|
||||
MAKE_FLAGS= resourcedir="${LOCALBASE}/share/FreeMat-${V}"
|
||||
|
||||
SUBST_VARS= V
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (FreeMat-3.1.tar.gz) = 0ZUFb6s39nbrzylXo62Crg==
|
||||
RMD160 (FreeMat-3.1.tar.gz) = d+P6qA3kc8lbs3MqqJ5ympl1OhA=
|
||||
SHA1 (FreeMat-3.1.tar.gz) = dO0HLKlc722iwhnpDnN/pyLtzjY=
|
||||
SHA256 (FreeMat-3.1.tar.gz) = klmZ/uiYg58E8tTenhLDVmsw5ExI/KBjnkKzgKTthgg=
|
||||
SIZE (FreeMat-3.1.tar.gz) = 5264616
|
||||
MD5 (FreeMat-3.2.tar.gz) = Ycmc5W/MJEpBCLJrPsttmw==
|
||||
RMD160 (FreeMat-3.2.tar.gz) = XHAxrYpOpJwPXxtujLKuWAlOTB4=
|
||||
SHA1 (FreeMat-3.2.tar.gz) = abrhoIA00GJNL7C/92o2RP0lYyg=
|
||||
SHA256 (FreeMat-3.2.tar.gz) = WUlscnXXBBSfLxlYTGPwq/ONSLGhQ7NmXkVT0b2B5UU=
|
||||
SIZE (FreeMat-3.2.tar.gz) = 5265284
|
||||
|
12
math/freemat/patches/patch-libs_libCore_IO_cpp
Normal file
12
math/freemat/patches/patch-libs_libCore_IO_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libs_libCore_IO_cpp,v 1.3 2007/04/22 14:43:41 martynas Exp $
|
||||
--- libs/libCore/IO.cpp.orig Fri Apr 13 23:07:45 2007
|
||||
+++ libs/libCore/IO.cpp Mon Apr 16 11:06:00 2007
|
||||
@@ -509,7 +509,7 @@ ArrayVector FreadFunction(int nargout, const ArrayVect
|
||||
fseek(fptr->fp,0L,SEEK_END);
|
||||
fsize = ftell(fptr->fp) - fcpos;
|
||||
fseek(fptr->fp,fcpos,SEEK_SET);
|
||||
- dp[infiniteDim] = ceil((float)(fsize/elementSize/elementCount));
|
||||
+ dp[infiniteDim] = ceil((double)(fsize/elementSize/elementCount));
|
||||
elementCount *= (int) dp[infiniteDim];
|
||||
}
|
||||
// Next, we allocate space for the result
|
Loading…
x
Reference in New Issue
Block a user