aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-08-30 18:59:35 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-08-30 18:59:35 +0000
commitd6a967e5f2d3cbd5253b49ec5ae63bd7ff28579f (patch)
tree4f224f7e0cbce0e0d9db39f9f30e855a5c6fc640 /sci-mathematics
parentchanged download url for UFconfig to a fixed version instead of current (diff)
downloadsci-d6a967e5f2d3cbd5253b49ec5ae63bd7ff28579f.tar.gz
sci-d6a967e5f2d3cbd5253b49ec5ae63bd7ff28579f.tar.bz2
sci-d6a967e5f2d3cbd5253b49ec5ae63bd7ff28579f.zip
added a forgotten file
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@277 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/freemat/files/matio.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/freemat/files/matio.patch b/sci-mathematics/freemat/files/matio.patch
new file mode 100644
index 000000000..b5a1748ad
--- /dev/null
+++ b/sci-mathematics/freemat/files/matio.patch
@@ -0,0 +1,16 @@
+--- libs/libCore/IO.cpp.orig 2006-08-29 02:50:09.000000000 +0200
++++ libs/libCore/IO.cpp 2006-08-29 02:52:10.000000000 +0200
+@@ -1785,5 +1785,5 @@
+ char header[116];
+ time_t t = time(NULL);
+- mat_snprintf(header, 116,
++ snprintf(header, 116,
+ "MATLAB 5.0 MAT-file, Platform: %s, Created on: %s by %s",
+ MATIO_PLATFORM, ctime(&t),
+@@ -2190,5 +2190,5 @@
+ mat_t *mat = Mat_Open(fname, MAT_ACC_RDONLY);
+ if (!mat) {
+- mat = Mat_Open(fname, MAT_ACC_RDONLY | MAT_V4);
++ mat = Mat_Open(fname, MAT_ACC_RDONLY | MAT_FT_MAT4);
+ }
+ if (mat) {