diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/freemat/files/matio.patch | 16 |
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) { |