aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tom111@gmx.de>2010-10-28 23:00:09 +0200
committerThomas Kahle <tom111@gmx.de>2010-10-28 23:02:25 +0200
commit83109f3a5c91234e1fbfad46d22e10a71b42160c (patch)
treee9b8a225347942f2647c98333d3f86d913b4f3d6
parentNew Addition (diff)
downloadsci-83109f3a5c91234e1fbfad46d22e10a71b42160c.tar.gz
sci-83109f3a5c91234e1fbfad46d22e10a71b42160c.tar.bz2
sci-83109f3a5c91234e1fbfad46d22e10a71b42160c.zip
Added missing patch
(Portage version: 2.1.8.3/git/Linux i686) (Signed Manifest commit)
-rw-r--r--sci-misc/salome-med/Manifest13
-rw-r--r--sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch297
2 files changed, 310 insertions, 0 deletions
diff --git a/sci-misc/salome-med/Manifest b/sci-misc/salome-med/Manifest
index 19b205070..8202b90d0 100644
--- a/sci-misc/salome-med/Manifest
+++ b/sci-misc/salome-med/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX salome-med-5.1.3-check_metis.patch 1573 RMD160 fdcc8a1fcba4d16f4c3a8e8636820c49876476b7 SHA1 28b0021cabc939a7f45df84e36953ea4cf1622f5 SHA256 471f36d3ecb15c5ebf6e4664237958c6f6b01f84d9fb4a184c5d5cf988721aac
AUX salome-med-5.1.3-check_scotch.patch 2538 RMD160 b501d483cdf6accd0f562676179d1be9ecfa038a SHA1 0ad2ef4901f02396c812b26e6e0264c3ae3321d4 SHA256 6802967adc584ba37317c85a8a100cef4734ce12515732b271e9057d788d14ff
AUX salome-med-5.1.3-gcc.patch 1641 RMD160 09962970219edb007984413cd1a010044ec19cef SHA1 233f51828285c4b9fe0dc5a473fa76f7dc8fb2aa SHA256 a6c70ba8dc12f6c2a11565c9551801dc8d3eee63435f2c6977bd2e4d5e545241
@@ -8,6 +11,7 @@ AUX salome-med-5.1.3-scotch.patch 411 RMD160 9ecd63a9cd71e6f6a4767c30baa135b6f3e
AUX salome-med-5.1.4-check_metis.patch 1573 RMD160 6161d11c4f2bfc9c0c56bb4eb21dd362a2b48091 SHA1 c135ba372ab0b776b3ed78618486947a5ff2f007 SHA256 9e2c46b3e4e855621495a09f311150d62c9d7429db578c3bebd0c0ffe0388e63
AUX salome-med-5.1.4-check_scotch.patch 2538 RMD160 1fe609bb4be7c5b3dff640f1a270bf896ac093bd SHA1 d3b87bd90c0cd0153959bdfd25277913d02c3362 SHA256 77d8add6d3584140d9607716a1786acf1f22be187710c55e5b66fc2a14329146
AUX salome-med-5.1.4-gcc.patch 420 RMD160 e6d00d77e70a3906f43dab76f97025c287adc29c SHA1 13d5772327ef961ae4937af415f613b84810dba3 SHA256 cc1a5b0599e149c1448c1993fdfdcb2af1ad8c2b1921e0ac6b8b018c349a9d47
+AUX salome-med-5.1.4-med_int.patch 15420 RMD160 46314924e3f8fbf1347f736f47a927272e8030a2 SHA1 efea52020f1dd0aff7a653cca5576098dfbbf6c3 SHA256 b9c0be4f14b2edc9da6eb389133b4059516c18e1292c51cc74f23fdee1ad5ed7
AUX salome-med-5.1.4-scotch.patch 411 RMD160 1a096ab3ba71c5e7c0f2e654022255af8f30f4dc SHA1 9fc334b2a4d5b75a7457e56157f5b2a1537d8adb SHA256 79d3e87c52bebc2a6a7fb06fcd4fed4fe366aa8403615d3e60c9790068734fb4
DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b
DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae
@@ -15,3 +19,12 @@ EBUILD salome-med-5.1.3.ebuild 3824 RMD160 4b1fa2beb4c1afa047428393997acc9e264a4
EBUILD salome-med-5.1.4.ebuild 3869 RMD160 dfbe03227b3bde72ec08dad18356a79d2184085b SHA1 a9ebb07623d8b8ce9d2a5322516a440184ee803e SHA256 1f414c79119f015d1a91d2fa53a8b4b0ba243f447e05e3a4d0954cdc5b89dee2
MISC ChangeLog 2971 RMD160 fedfd026bfdfb3bc8c76657e35a13925727c3777 SHA1 d10d91a3b13481dccf0acbd76e1f92bd7daf849e SHA256 8b86b200e26c0b74c1378c7ac7520bf8e0db0e9fbf693b54d33d1ecd1d8d92c3
MISC metadata.xml 274 RMD160 81f0dbbb32fd2de80832c9872616b0a48b2d4c04 SHA1 72f2c4ce931ef27e7f913218049757f318f0415d SHA256 49d1680ffc0598f56db8198488dc66263eef05571d59bb3875e0a8858f54f5e4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iJwEAQEIAAYFAkzJ5FgACgkQQYXt1pFHaaGsSQQAxOex8MtM2qkAkIidRJzg9/7j
+6g04oZXtuxs+pfftu+h4OXWRoezKvcomr967GhMaDH1WVHJ+2fB/QSSchsFUmGXv
++20iHrUrBYyEN8/K7bRJNuSr5wvnlFVmcz7M2lTxY3oB8SLwgEt/ACOcVTwoih/7
+J4y+HCaCQmispre18eY=
+=M5zW
+-----END PGP SIGNATURE-----
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch b/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch
new file mode 100644
index 000000000..6db1510a4
--- /dev/null
+++ b/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch
@@ -0,0 +1,297 @@
+diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx
+--- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:07:56.860301255 +0100
++++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:33:59.740251721 +0100
+@@ -189,7 +189,7 @@
+
+ int ncorr = med_2_3::MEDjointInfo(fid,meshname, ijoint+1, name,
+ joint_description,
+- &distant, name_distant);
++ (med_int*)&distant, name_distant);
+
+ for (int ic=0; ic<ncorr; ic++)
+ {
+@@ -209,7 +209,7 @@
+ {
+
+ med_2_3::MEDjointLire(fid, meshname, name,
+- node_corresp,ncouples,
++ (med_int*)node_corresp,ncouples,
+ cor_typent_local, cor_typgeo_local,
+ cor_typent_dist, cor_typgeo_dist
+ );
+@@ -247,7 +247,7 @@
+ if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue;
+ int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type);
+ if (ntype==0) continue;
+- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype,
++ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype,
+ med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type);
+ offset+=ntype;
+ }
+@@ -259,7 +259,7 @@
+ int nnode= (m_collection->getMesh())[idomain]->getNumberOfNodes();
+ {
+ int* array=new int[nnode];
+- med_2_3::MEDglobalNumLire(fid,meshname, array, nnode,
++ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array, nnode,
+ med_2_3::MED_NOEUD, med_2_3::MED_POINT1);
+ nodeglobal[idomain]=array;
+ }
+@@ -280,7 +280,7 @@
+
+ int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_FACE,type);
+ if (ntype==0) continue;
+- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype,
++ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype,
+ med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type);
+ offset+=ntype;
+ }
+@@ -348,7 +348,7 @@
+ jointSort(node_corresp, nbnodes, false);
+
+ error=
+- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, node_corresp, nbnodes,
++ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)node_corresp, nbnodes,
+ med_2_3::MED_NOEUD, med_2_3::MED_POINT1,med_2_3::MED_NOEUD, med_2_3::MED_POINT1);
+ if (error==-1) cout << "erreur creation de joint "<<endl;
+
+@@ -388,7 +388,7 @@
+ if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue;
+ int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type);
+ if (ntype==0) continue;
+- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype,
++ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype,
+ med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type);
+ offset+=ntype;
+
+@@ -426,7 +426,7 @@
+
+ int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(constituent_entity,type);
+ if (ntype==0) continue;
+- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype,
++ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype,
+ med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type);
+
+ offset+=ntype;
+@@ -443,7 +443,7 @@
+
+ m_collection->getTopology()->getNodeList(idomain,array);
+
+- med_2_3::MEDglobalNumEcr(fid,meshchar, array, nnode,
++ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array, nnode,
+ med_2_3::MED_NOEUD, med_2_3::MED_POINT1);
+
+ delete[] array;
+@@ -507,7 +507,7 @@
+ corresp.push_back(value[icol]);
+ }
+ int size_joint = corresp.size()/2;
+- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, &corresp[0],
++ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)&corresp[0],
+ size_joint, med_2_3::MED_MAILLE,
+ (med_2_3::med_geometrie_element)local_type ,med_2_3::MED_MAILLE,
+ (med_2_3::med_geometrie_element)distant_type );
+@@ -541,7 +541,7 @@
+ med_2_3::med_geometrie_element distant_geo_elem=(med_2_3::med_geometrie_element)iter->first.second;
+ int size_joint=size/2;
+ //med_2_3::med_err error =
+- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, corresp, size_joint, med_2_3::MED_MAILLE,
++ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)corresp, size_joint, med_2_3::MED_MAILLE,
+ local_geo_elem,med_2_3::MED_MAILLE, distant_geo_elem);
+ delete[] corresp;
+ }
+diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx
+--- src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:07:56.624073897 +0100
++++ src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:42:31.140322486 +0100
+@@ -34,6 +34,7 @@
+
+ #include <vector>
+ #include <set>
++#include <med.h>
+
+ //*****************************************************************************
+ // Some useful macros
+@@ -46,7 +47,7 @@
+ * Pair of index.
+ * See definition of GaussIndexList.
+ */
+-typedef std::pair < std::set<int>*, std::set<int> > IndexPair;
++typedef std::pair < std::set<med_int>*, std::set<med_int> > IndexPair;
+
+ /**
+ * List of gauss index for optimized domain split.
+diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx
+--- src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:07:55.512824126 +0100
++++ src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:23:57.950316309 +0100
+@@ -169,11 +169,11 @@
+ {
+ int ngro=MEDnGroupe(fid,(char *)meshName,i+1);
+ med_int natt=MEDnAttribut(fid,(char *)meshName,i+1);
+- med_int *attide=new int[natt];
+- med_int *attval=new int[natt];
++ med_int *attide=new med_int[natt];
++ med_int *attval=new med_int[natt];
+ char *attdes=new char[MED_TAILLE_DESC*natt+1];
+ char *gro=new char[MED_TAILLE_LNOM*ngro+1];
+- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro);
++ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro);
+ std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam));
+ ret[i]=cur;
+ delete [] attdes;
+@@ -196,11 +196,11 @@
+ {
+ int ngro=MEDnGroupe(fid,(char *)meshName,i+1);
+ med_int natt=MEDnAttribut(fid,(char *)meshName,i+1);
+- med_int *attide=new int[natt];
+- med_int *attval=new int[natt];
++ med_int *attide=new med_int[natt];
++ med_int *attval=new med_int[natt];
+ char *attdes=new char[MED_TAILLE_DESC*natt+1];
+ char *gro=new char[MED_TAILLE_LNOM*ngro+1];
+- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro);
++ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro);
+ for(int j=0;j<ngro;j++)
+ {
+ std::string cur=buildStringFromFortran(gro+j*MED_TAILLE_LNOM,MED_TAILLE_LNOM);
+@@ -446,11 +446,11 @@
+ {
+ int ngro=MEDnGroupe(fid,(char *)meshName,i+1);
+ med_int natt=MEDnAttribut(fid,(char *)meshName,i+1);
+- med_int *attide=new int[natt];
+- med_int *attval=new int[natt];
++ med_int *attide=new med_int[natt];
++ med_int *attval=new med_int[natt];
+ char *attdes=new char[MED_TAILLE_DESC*natt+1];
+ char *gro=new char[MED_TAILLE_LNOM*ngro+1];
+- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro);
++ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro);
+ std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam));
+ if(std::find(fams.begin(),fams.end(),cur)!=fams.end())
+ ret.push_back(numfam);
+@@ -474,11 +474,11 @@
+ {
+ int ngro=MEDnGroupe(fid,(char *)meshName,i+1);
+ med_int natt=MEDnAttribut(fid,(char *)meshName,i+1);
+- med_int *attide=new int[natt];
+- med_int *attval=new int[natt];
++ med_int *attide=new med_int[natt];
++ med_int *attval=new med_int[natt];
+ char *attdes=new char[MED_TAILLE_DESC*natt+1];
+ char *gro=new char[MED_TAILLE_LNOM*ngro+1];
+- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro);
++ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro);
+ std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam));
+ for(int j=0;j<ngro;j++)
+ {
+@@ -566,12 +566,12 @@
+ MEDLoader::MEDConnOfOneElemType elem(typmai2[i],connTab,0,fam,curNbOfElem,-1);
+ int *tmp=new int[curNbOfElem];
+ char *noms=new char[MED_TAILLE_PNOM*curNbOfElem+1];
+- MEDelementsLire(fid,nommaa,Mdim,connTab,MED_FULL_INTERLACE,noms,&inoele,tmp,&inuele,fam,curNbOfElem,whichEntity,curMedType,MED_NOD);
++ MEDelementsLire(fid,nommaa,Mdim,(med_int*)connTab,MED_FULL_INTERLACE,noms,&inoele,(med_int*)tmp,&inuele,(med_int*)fam,curNbOfElem,whichEntity,curMedType,MED_NOD);
+ delete [] tmp;
+ delete [] noms;
+ //trying to read global numbering
+ int *globArr=new int[curNbOfElem];
+- if(MEDglobalNumLire(fid,nommaa,globArr,curNbOfElem,whichEntity,curMedType)==0)
++ if(MEDglobalNumLire(fid,nommaa,(med_int*)globArr,curNbOfElem,whichEntity,curMedType)==0)
+ elem.setGlobal(globArr);
+ else
+ delete [] globArr;
+@@ -590,9 +590,9 @@
+ int *index=new int[curNbOfPolyElem+1];
+ int *locConn=new int[arraySize];
+ int *fam=new int[curNbOfPolyElem];
+- MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,arraySize);
+- MEDpolygoneConnLire(fid,nommaa,index,curNbOfPolyElem+1,locConn,whichPolyEntity,MED_NOD);
+- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE);
++ MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,(int)arraySize);
++ MEDpolygoneConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)locConn,whichPolyEntity,MED_NOD);
++ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE);
+ conn.push_back(elem);
+ }
+ curNbOfPolyElem=MEDnEntMaa(fid,nommaa,MED_CONN,MED_MAILLE,MED_POLYEDRE,MED_NOD);
+@@ -604,8 +604,8 @@
+ int *indexFace=new int[indexFaceLgth];
+ int *locConn=new int[connFaceLgth];
+ int *fam=new int[curNbOfPolyElem];
+- MEDpolyedreConnLire(fid,nommaa,index,curNbOfPolyElem+1,indexFace,indexFaceLgth,locConn,MED_NOD);
+- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE);
++ MEDpolyedreConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)indexFace,indexFaceLgth,(med_int*)locConn,MED_NOD);
++ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE);
+ int arraySize=connFaceLgth;
+ for(int i=0;i<curNbOfPolyElem;i++)
+ arraySize+=index[i+1]-index[i]-1;
+@@ -1051,11 +1051,11 @@
+ std::vector<int> medConnIndex2;
+ int nbOfElt=buildMEDSubConnectivityOfOneType(conn,connIndex,curType,medConn,medConnIndex,medConnIndex2);
+ if(curMedType!=MED_POLYGONE && curMedType!=MED_POLYEDRE)
+- MEDconnEcr(fid,maa,mesh->getMeshDimension(),&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD);
++ MEDconnEcr(fid,maa,mesh->getMeshDimension(),(med_int*)&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD);
+ else
+ {
+ if(curMedType==MED_POLYGONE)
+- MEDpolygoneConnEcr(fid,maa,&medConnIndex[0],medConnIndex.size(),&medConn[0],MED_MAILLE,MED_NOD);
++ MEDpolygoneConnEcr(fid,maa,(med_int*)&medConnIndex[0],medConnIndex.size(),(med_int*)&medConn[0],MED_MAILLE,MED_NOD);
+ }
+ }
+ }
+--- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:24:36.370545867 +0100
++++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:30:11.329293723 +0100
+@@ -300,8 +300,8 @@
+ char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM];
+ char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM];
+ int dom1, dom2;
+- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1);
+- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2);
++ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1,(med_int*)&dom1, maa_dist1);
++ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2,(med_int*)&dom2, maa_dist2);
+ CPPUNIT_ASSERT(strcmp(jn1,"joint_2")==0);
+ CPPUNIT_ASSERT(strcmp(jn2,"joint_1")==0);
+ CPPUNIT_ASSERT_EQUAL(dom1,1);
+@@ -467,8 +467,8 @@
+ char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM];
+ char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM];
+ int dom1, dom2;
+- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1);
+- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2);
++ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1);
++ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2);
+ CPPUNIT_ASSERT_EQUAL(dom1,1);
+ CPPUNIT_ASSERT_EQUAL(dom2,0);
+
+@@ -548,7 +548,7 @@
+ //testing cells global numbering
+ num = new med_2_3::med_int[2];
+ MEDglobalNumLire(fid1, meshname1, num, 2, typ_ent_loc, typ_geo_loc);
+- med_2_3::med_int* globcellref = new int[2];
++ med_2_3::med_int* globcellref = new med_int[2];
+ globcellref[0]=1;
+ globcellref[1]=3;
+
+@@ -773,10 +773,10 @@
+ char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM];
+ char desc2[MED_TAILLE_DESC];
+ char maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM];
+- //int dom1, dom2;
+- med_2_3::med_int dom1, dom2;
+- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1);
+- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2);
++ int dom1, dom2;
++// med_2_3::med_int dom1, dom2;
++ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1);
++ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2);
+ CPPUNIT_ASSERT_EQUAL(dom1,1);
+ CPPUNIT_ASSERT_EQUAL(dom2,0);
+
+@@ -1143,8 +1143,8 @@
+ char maa_dist1[MED_TAILLE_NOM+1], jn1[MED_TAILLE_NOM+1];
+ char desc2[MED_TAILLE_DESC+1], maa_dist2[MED_TAILLE_NOM+1], jn2[MED_TAILLE_NOM+1];
+ int dom1, dom2;
+- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1);
+- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2);
++ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1);
++ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2);
+ CPPUNIT_ASSERT_EQUAL(dom1,1);
+ CPPUNIT_ASSERT_EQUAL(dom2,0);
+