[mathgl] * Update to 1.11.0.1

mycae mycae at fedoraproject.org
Sun Nov 28 00:48:00 UTC 2010


commit e62dcee5580fbc0084796e1a02d44cf2e77ad36a
Author: D Haley <mycae at yahoo.com>
Date:   Sun Nov 28 00:33:57 2010 +0000

    * Update to 1.11.0.1

 .gitignore                    |    1 +
 mathgl-examples-ldflags.patch |   34 ----------------------------------
 mathgl-hdf4-datatype.patch    |   18 ++++++++++++++++++
 mathgl-io.patch               |   33 ---------------------------------
 mathgl-mglview-ldflags.patch  |   14 --------------
 mathgl-no-mglwx.patch         |   17 -----------------
 mathgl-novfm-fonts.patch      |   11 -----------
 mathgl-png.patch              |   11 -----------
 sources                       |    2 +-
 9 files changed, 20 insertions(+), 121 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f07fd90..421fb12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 mathgl-1.10.2.1.tgz
+/mathgl-1.11.0.1.tgz
diff --git a/mathgl-hdf4-datatype.patch b/mathgl-hdf4-datatype.patch
new file mode 100644
index 0000000..836f460
--- /dev/null
+++ b/mathgl-hdf4-datatype.patch
@@ -0,0 +1,18 @@
+--- mgl/mgl_data_io.cpp	2010-11-16 13:02:05.000000000 +0000
++++ mgl/mgl_data_io.cpp.new	2010-11-26 23:40:52.821155381 +0000
+@@ -914,13 +914,13 @@
+ void mglData::ReadHDF4(const char *fname,const char *data)
+ {
+ #ifdef HAVE_HDF4
+-	int sd = SDstart(fname,DFACC_READ), nn, i;
++	int32 sd = SDstart(fname,DFACC_READ), nn, i;
+ 	if(sd==-1)	return;	// is not a HDF4 file
+ 	char name[64];
+ 	SDfileinfo(sd,&nn,&i);
+ 	for(i=0;i<nn;i++)
+ 	{
+-		int sds, rank, dims[32], type, attr, in[2]={0,0};
++		int32 sds, rank, dims[32], type, attr, in[2]={0,0};
+ 		sds = SDselect(sd,i);
+ 		SDgetinfo(sds,name,&rank,dims,&type,&attr);
+ 		if(!strcmp(name,data))	// as I understand there are possible many datas with the same name
diff --git a/sources b/sources
index eb63a7f..edffa2f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4122428797fd0c25a096c377b9ffe44a  mathgl-1.10.2.1.tgz
+790438adb60afd25304d9d2a18c03160  mathgl-1.11.0.1.tgz


More information about the scm-commits mailing list