aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-03-23 18:15:49 +0800
committerthierry <thierry@FreeBSD.org>2008-03-23 18:15:49 +0800
commita5a119a55b2a97f93b98bdf5a91bfd2f29267982 (patch)
tree30de83e84764e97d45f287d5b9417ed8c94d8133 /french
parentefedf33b4ae3844baf9829eaede7615bac981912 (diff)
downloadfreebsd-ports-gnome-a5a119a55b2a97f93b98bdf5a91bfd2f29267982.tar.gz
freebsd-ports-gnome-a5a119a55b2a97f93b98bdf5a91bfd2f29267982.tar.zst
freebsd-ports-gnome-a5a119a55b2a97f93b98bdf5a91bfd2f29267982.zip
Upgrade to 2.3.3.
Diffstat (limited to 'french')
-rw-r--r--french/med/Makefile41
-rw-r--r--french/med/distinfo6
-rw-r--r--french/med/files/patch-fix-HDF5-1.6.7344
-rw-r--r--french/med/files/patch-src::cfi::Makefile.in21
-rw-r--r--french/med/files/patch-src::ci::Makefile.in19
-rw-r--r--french/med/files/patch-src::hdfi::Makefile.in19
-rw-r--r--french/med/files/patch-src::misc::Makefile.in19
-rw-r--r--french/med/files/patch-test33.f11
-rw-r--r--french/med/files/patch-tests::c::Makefile.in19
-rw-r--r--french/med/files/patch-tests_f_2.3.1_Makefile.am12
-rw-r--r--french/med/files/patch-tests_f_2.3.1_Makefile.in12
-rw-r--r--french/med/files/patch-tests_f_2.3.2_Makefile.am12
-rw-r--r--french/med/files/patch-tests_f_2.3.2_Makefile.in12
-rw-r--r--french/med/files/patch-tests_f_Makefile.am12
-rw-r--r--french/med/files/patch-tests_f_Makefile.in12
-rw-r--r--french/med/files/patch-tools::mdump::Makefile.in19
-rw-r--r--french/med/files/patch-tools::medconforme::Makefile.in19
-rw-r--r--french/med/files/patch-tools::medimport::Makefile.in19
-rw-r--r--french/med/pkg-plist31
19 files changed, 539 insertions, 120 deletions
diff --git a/french/med/Makefile b/french/med/Makefile
index 2e2e07b97893..95bc5b5203a5 100644
--- a/french/med/Makefile
+++ b/french/med/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= med
-PORTVERSION= 2.3.1
-PORTREVISION= 3
+PORTVERSION= 2.3.3
CATEGORIES= french science
-MASTER_SITES= http://www.code-aster.org/FICHIERS/
+MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
MAINTAINER= ports@FreeBSD.org
COMMENT= Modelisation et Echanges de Donnees
@@ -22,13 +21,13 @@ TK_VER?= 8.4
SHORT_TK_VER= ${TK_VER:S/.//}
USE_FORTRAN= yes
-CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
FFLAGS+= -O2
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV+= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \
- LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \
- --with-f90=${FC}
+CONFIGURE_ENV= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \
+ FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+CONFIGURE_ARGS= --with-f90=${FC} --docdir=${DOCSDIR}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261 libtool:15
@@ -37,20 +36,20 @@ USE_LDCONFIG= yes
DOC2FIX= . gif html jpg png tests
TST2FIX= c f
-.include <bsd.port.pre.mk>
-
pre-configure:
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \
- ${WRKSRC}/Makefile.in
-.endif
-.for dd in ${DOC2FIX}
- @${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = $$(datadir)/doc/@PACKAGE@|' \
- ${WRKSRC}/doc/${dd}/Makefile.in
-.endfor
-.for dd in ${TST2FIX}
- @${REINPLACE_CMD} -e 's|test${dd}dir = $$(bindir)/test|test${dd}dir = ${EXAMPLESDIR}/test|' \
- ${WRKSRC}/tests/${dd}/Makefile.in
+.for ext in am in
+. if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \
+ ${WRKSRC}/Makefile.${ext}
+. endif
+. for dd in ${DOC2FIX}
+ ${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = @docdir@|' \
+ ${WRKSRC}/doc/${dd}/Makefile.${ext}
+. endfor
+. for dd in ${TST2FIX}
+ ${REINPLACE_CMD} -e 's|test${dd}dir = $$(bindir)/test|test${dd}dir = ${EXAMPLESDIR}/test|' \
+ ${WRKSRC}/tests/${dd}/Makefile.${ext}
+. endfor
.endfor
post-install:
@@ -62,4 +61,4 @@ regression-test:
@(cd ${BUILD_WRKSRC}; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/french/med/distinfo b/french/med/distinfo
index 84ce7111e631..439a0571e720 100644
--- a/french/med/distinfo
+++ b/french/med/distinfo
@@ -1,3 +1,3 @@
-MD5 (med-2.3.1.tar.gz) = caa877fe7c1b3450edaccd729c52844b
-SHA256 (med-2.3.1.tar.gz) = f46166c6850c0157f6b13429524de91e42a3e53de9b859555baba85d3a4c11b6
-SIZE (med-2.3.1.tar.gz) = 2022500
+MD5 (med-2.3.3.tar.gz) = 8289db825be215ba902689e7777e6da1
+SHA256 (med-2.3.3.tar.gz) = b74514c5038e891cab9331102f0c369c591959d26711b666a70cf0b214f4be5d
+SIZE (med-2.3.3.tar.gz) = 2110732
diff --git a/french/med/files/patch-fix-HDF5-1.6.7 b/french/med/files/patch-fix-HDF5-1.6.7
new file mode 100644
index 000000000000..1327b52778c7
--- /dev/null
+++ b/french/med/files/patch-fix-HDF5-1.6.7
@@ -0,0 +1,344 @@
+diff -urN ./src/hdfi/MEDdatasetNumEcrire231.c ./src/hdfi/MEDdatasetNumEcrire231.c
+--- ./src/hdfi/MEDdatasetNumEcrire231.c 2007-05-30 15:07:58.000000000 +0200
++++ ./src/hdfi/MEDdatasetNumEcrire231.c 2008-03-22 15:51:08.000000000 +0100
+@@ -201,10 +201,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -228,10 +228,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -303,7 +303,7 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dwrite(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -337,10 +337,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dwrite(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
+diff -urN ./src/hdfi/MEDdatasetNumEcrire232.c ./src/hdfi/MEDdatasetNumEcrire232.c
+--- ./src/hdfi/MEDdatasetNumEcrire232.c 2008-02-04 12:29:45.000000000 +0100
++++ ./src/hdfi/MEDdatasetNumEcrire232.c 2008-03-22 15:51:52.000000000 +0100
+@@ -283,13 +283,13 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0) {
++ if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le memspace : ");
+ ISCRUTE(memspace);
+ goto ERROR;
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0) {
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le dataspace : ");
+ ISCRUTE(dataspace);
+ goto ERROR;
+@@ -324,13 +324,13 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0) {
++ if ( (ret = H5Sselect_elements(memspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le memspace : ");
+ ISCRUTE(memspace);
+ goto ERROR;
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0) {
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le dataspace : ");
+ ISCRUTE(dataspace);
+ goto ERROR;
+@@ -441,13 +441,13 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t **) pflmem ) ) <0) {
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t *) pflmem ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le memspace : ");
+ ISCRUTE(memspace);
+ goto ERROR;
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0) {
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le dataspace : ");
+ ISCRUTE(dataspace);
+ goto ERROR;
+@@ -500,13 +500,13 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t **) pflmem ) ) <0) {
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET,pcount[0], (const hsize_t *) pflmem ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le memspace : ");
+ ISCRUTE(memspace);
+ goto ERROR;
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0) {
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0) {
+ MESSAGE("Impossible d'effectuer une sélection sur le dataspace : ");
+ ISCRUTE(dataspace);
+ goto ERROR;
+diff -urN ./src/hdfi/MEDdatasetNumLire231.c ./src/hdfi/MEDdatasetNumLire231.c
+--- ./src/hdfi/MEDdatasetNumLire231.c 2007-06-20 11:32:06.000000000 +0200
++++ ./src/hdfi/MEDdatasetNumLire231.c 2008-03-22 15:53:11.000000000 +0100
+@@ -187,10 +187,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -214,10 +214,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -289,7 +289,7 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -324,10 +324,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
+diff -urN ./src/hdfi/MEDdatasetNumLire232.c ./src/hdfi/MEDdatasetNumLire232.c
+--- ./src/hdfi/MEDdatasetNumLire232.c 2007-06-20 11:32:07.000000000 +0200
++++ ./src/hdfi/MEDdatasetNumLire232.c 2008-03-22 15:54:03.000000000 +0100
+@@ -233,10 +233,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -265,10 +265,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ break;
+@@ -358,10 +358,10 @@
+ }
+
+ if ( pflcmp == MED_PFL_COMPACT ) {
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -371,7 +371,7 @@
+ }
+ else {
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -417,10 +417,10 @@
+ }
+
+ if ( pflcmp == MED_PFL_NON_COMPACT ) {
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ goto Fail;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -429,7 +429,7 @@
+ free(pflmem);
+ }
+ else {
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ goto Fail;
+
+ if ((ret = H5Dread(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+diff -urN ./tools/medimport/2.1.x/MED21datasetNumLire.c ./tools/medimport/2.1.x/MED21datasetNumLire.c
+--- ./tools/medimport/2.1.x/MED21datasetNumLire.c 2007-12-18 12:34:53.000000000 +0100
++++ ./tools/medimport/2.1.x/MED21datasetNumLire.c 2008-03-22 15:54:53.000000000 +0100
+@@ -150,10 +150,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ break;
+@@ -177,10 +177,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ break;
+@@ -251,7 +251,7 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ if ((ret = H5Dread(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -282,10 +282,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ if ((ret = H5Dread(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
+diff -urN ./tools/medimport/2.1.x/MED21datasetNumLirebuilt.cxx ./tools/medimport/2.1.x/MED21datasetNumLirebuilt.cxx
+--- ./tools/medimport/2.1.x/MED21datasetNumLirebuilt.cxx 2008-02-04 14:27:11.000000000 +0100
++++ ./tools/medimport/2.1.x/MED21datasetNumLirebuilt.cxx 2008-03-22 15:55:57.000000000 +0100
+@@ -150,10 +150,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ break;
+@@ -177,10 +177,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET, pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ break;
+@@ -251,7 +251,7 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ if ((ret = H5Dread(dataset,type_hdf,dataspace,dataspace,H5P_DEFAULT, val)) < 0)
+@@ -282,10 +282,10 @@
+ }
+ }
+
+- if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t **) pflmem ) ) <0)
++ if ( (ret = H5Sselect_elements(memspace ,H5S_SELECT_SET, pcount[0], (const hsize_t *) pflmem ) ) <0)
+ return -1;
+
+- if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t **) pfldsk ) ) <0)
++ if ( (ret = H5Sselect_elements(dataspace,H5S_SELECT_SET,pcount[0], (const hsize_t *) pfldsk ) ) <0)
+ return -1;
+
+ if ((ret = H5Dread(dataset,type_hdf,memspace,dataspace,H5P_DEFAULT, val)) < 0)
diff --git a/french/med/files/patch-src::cfi::Makefile.in b/french/med/files/patch-src::cfi::Makefile.in
index e55a703da772..0250edf0f148 100644
--- a/french/med/files/patch-src::cfi::Makefile.in
+++ b/french/med/files/patch-src::cfi::Makefile.in
@@ -1,7 +1,7 @@
---- src/cfi/Makefile.in.orig Tue Aug 30 10:20:16 2005
-+++ src/cfi/Makefile.in Mon Jan 9 21:10:56 2006
-@@ -60,11 +60,13 @@
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include/med
+--- ./src/cfi/Makefile.in.orig 2008-02-08 15:21:48.000000000 +0100
++++ ./src/cfi/Makefile.in 2008-03-22 14:27:04.000000000 +0100
+@@ -57,11 +57,13 @@
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)/include@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
+# FreeBSD patch: put AM_CFLAGS before CPPFLAGS to be able to compile
@@ -9,11 +9,10 @@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-src::ci::Makefile.in b/french/med/files/patch-src::ci::Makefile.in
index 02bbcb08f6b6..d72660f498fa 100644
--- a/french/med/files/patch-src::ci::Makefile.in
+++ b/french/med/files/patch-src::ci::Makefile.in
@@ -1,16 +1,15 @@
---- src/ci/Makefile.in.orig Tue Aug 30 10:20:16 2005
-+++ src/ci/Makefile.in Mon Jan 9 21:13:52 2006
-@@ -89,10 +89,10 @@
+--- ./src/ci/Makefile.in.orig 2008-02-08 15:21:48.000000000 +0100
++++ ./src/ci/Makefile.in 2008-03-22 14:29:09.000000000 +0100
+@@ -91,10 +91,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-src::hdfi::Makefile.in b/french/med/files/patch-src::hdfi::Makefile.in
index d3da5457be14..da05d9c7fcea 100644
--- a/french/med/files/patch-src::hdfi::Makefile.in
+++ b/french/med/files/patch-src::hdfi::Makefile.in
@@ -1,16 +1,15 @@
---- src/hdfi/Makefile.in.orig Tue Aug 30 10:20:17 2005
-+++ src/hdfi/Makefile.in Mon Jan 9 21:18:22 2006
-@@ -70,10 +70,10 @@
+--- ./src/hdfi/Makefile.in.orig 2008-02-08 15:21:49.000000000 +0100
++++ ./src/hdfi/Makefile.in 2008-03-22 14:34:25.000000000 +0100
+@@ -68,10 +68,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-src::misc::Makefile.in b/french/med/files/patch-src::misc::Makefile.in
index 014803a179f3..a61ea3e4ac08 100644
--- a/french/med/files/patch-src::misc::Makefile.in
+++ b/french/med/files/patch-src::misc::Makefile.in
@@ -1,16 +1,15 @@
---- src/misc/Makefile.in.orig Tue Aug 30 10:20:18 2005
-+++ src/misc/Makefile.in Mon Jan 9 21:20:33 2006
-@@ -62,10 +62,10 @@
+--- ./src/misc/Makefile.in.orig 2008-02-08 15:21:50.000000000 +0100
++++ ./src/misc/Makefile.in 2008-03-22 14:36:51.000000000 +0100
+@@ -60,10 +60,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-test33.f b/french/med/files/patch-test33.f
deleted file mode 100644
index af50bfdbf900..000000000000
--- a/french/med/files/patch-test33.f
+++ /dev/null
@@ -1,11 +0,0 @@
---- tests/f/test33.f~ Mon Feb 27 20:46:24 2006
-+++ tests/f/test33.f Wed Jan 17 15:00:47 2007
-@@ -71,7 +71,7 @@
- call efnema(fid,maa,MED_CONN,MED_ARETE,MED_SEG2,MED_DESC
- 1 ,narr,cret)
- if (cret .ne. 0 ) then
-- print *,'Erreur acces au nombre d''arretes du premier maillage'
-+ print *,'Erreur acces au nombre d arretes du premier maillage'
- call efexit(-1)
- endif
-
diff --git a/french/med/files/patch-tests::c::Makefile.in b/french/med/files/patch-tests::c::Makefile.in
index b07db6e03997..4bb99abd1183 100644
--- a/french/med/files/patch-tests::c::Makefile.in
+++ b/french/med/files/patch-tests::c::Makefile.in
@@ -1,16 +1,15 @@
---- tests/c/Makefile.in.orig Tue Aug 30 10:20:19 2005
-+++ tests/c/Makefile.in Mon Jan 9 21:22:41 2006
-@@ -151,10 +151,10 @@
+--- ./tests/c/Makefile.in.orig 2008-02-08 15:21:53.000000000 +0100
++++ ./tests/c/Makefile.in 2008-03-22 14:42:15.000000000 +0100
+@@ -197,10 +197,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-tests_f_2.3.1_Makefile.am b/french/med/files/patch-tests_f_2.3.1_Makefile.am
new file mode 100644
index 000000000000..e43c301f2aed
--- /dev/null
+++ b/french/med/files/patch-tests_f_2.3.1_Makefile.am
@@ -0,0 +1,12 @@
+--- tests/f/2.3.1/Makefile.am.orig 2007-12-17 18:44:05.000000000 +0100
++++ tests/f/2.3.1/Makefile.am 2008-03-22 22:38:41.000000000 +0100
+@@ -9,7 +9,8 @@
+
+ if WITHF90
+
+-myTESTS_LEC = ../test5.sh ../test7.sh ../test9.sh \
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++myTESTS_LEC = ../test5.sh ../test7.sh \
+ test11.sh ../test13.sh ../test15.sh ../test17.sh \
+ ../test30.sh
+
diff --git a/french/med/files/patch-tests_f_2.3.1_Makefile.in b/french/med/files/patch-tests_f_2.3.1_Makefile.in
new file mode 100644
index 000000000000..d0e052a4bb3e
--- /dev/null
+++ b/french/med/files/patch-tests_f_2.3.1_Makefile.in
@@ -0,0 +1,12 @@
+--- tests/f/2.3.1/Makefile.in.orig 2008-02-08 15:21:54.000000000 +0100
++++ tests/f/2.3.1/Makefile.in 2008-03-23 00:30:47.000000000 +0100
+@@ -221,7 +221,8 @@
+
+ AM_LDFLAGS = $(FTLDFLAGS)
+ AM_LIBTOOLFLAGS = --tag=F77
+-@WITHF90_TRUE@myTESTS_LEC = ../test5.sh ../test7.sh ../test9.sh \
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++@WITHF90_TRUE@myTESTS_LEC = ../test5.sh ../test7.sh \
+ @WITHF90_TRUE@ test11.sh ../test13.sh ../test15.sh ../test17.sh \
+ @WITHF90_TRUE@ ../test30.sh
+
diff --git a/french/med/files/patch-tests_f_2.3.2_Makefile.am b/french/med/files/patch-tests_f_2.3.2_Makefile.am
new file mode 100644
index 000000000000..e93dae71efbb
--- /dev/null
+++ b/french/med/files/patch-tests_f_2.3.2_Makefile.am
@@ -0,0 +1,12 @@
+--- tests/f/2.3.2/Makefile.am.orig 2007-12-18 12:34:30.000000000 +0100
++++ tests/f/2.3.2/Makefile.am 2008-03-22 23:11:40.000000000 +0100
+@@ -9,7 +9,8 @@
+
+ if WITHF90
+
+-myTESTS_LEC = ../test5.sh ../test7.sh ../test9.sh \
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++myTESTS_LEC = ../test5.sh ../test7.sh \
+ test11.sh ../test13.sh ../test15.sh ../test17.sh \
+ ../test30.sh
+
diff --git a/french/med/files/patch-tests_f_2.3.2_Makefile.in b/french/med/files/patch-tests_f_2.3.2_Makefile.in
new file mode 100644
index 000000000000..42d55d91a41b
--- /dev/null
+++ b/french/med/files/patch-tests_f_2.3.2_Makefile.in
@@ -0,0 +1,12 @@
+--- tests/f/2.3.2/Makefile.in.orig 2008-02-08 15:21:55.000000000 +0100
++++ tests/f/2.3.2/Makefile.in 2008-03-23 00:32:04.000000000 +0100
+@@ -221,7 +221,8 @@
+
+ AM_LDFLAGS = $(FTLDFLAGS)
+ AM_LIBTOOLFLAGS = --tag=F77
+-@WITHF90_TRUE@myTESTS_LEC = ../test5.sh ../test7.sh ../test9.sh \
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++@WITHF90_TRUE@myTESTS_LEC = ../test5.sh ../test7.sh \
+ @WITHF90_TRUE@ test11.sh ../test13.sh ../test15.sh ../test17.sh \
+ @WITHF90_TRUE@ ../test30.sh
+
diff --git a/french/med/files/patch-tests_f_Makefile.am b/french/med/files/patch-tests_f_Makefile.am
new file mode 100644
index 000000000000..be649de47b5d
--- /dev/null
+++ b/french/med/files/patch-tests_f_Makefile.am
@@ -0,0 +1,12 @@
+--- tests/f/Makefile.am.orig 2007-12-17 18:44:03.000000000 +0100
++++ tests/f/Makefile.am 2008-03-22 22:51:36.000000000 +0100
+@@ -19,7 +19,8 @@
+
+ mycheckPROGRAMS = test5 test7 test9 test11 test13 test15 test17 test30
+
+-myTESTS_LEC = test5.sh test7.sh test9.sh test11.sh test13.sh test15.sh test17.sh test30.sh
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++myTESTS_LEC = test5.sh test7.sh test11.sh test13.sh test15.sh test17.sh test30.sh
+
+ test5_SOURCES = test5.f90
+ ##test5_LINK = $(LIBTOOL) --mode=link $(F90) $(AM_FFLAGS) \
diff --git a/french/med/files/patch-tests_f_Makefile.in b/french/med/files/patch-tests_f_Makefile.in
new file mode 100644
index 000000000000..ea718b0b25b7
--- /dev/null
+++ b/french/med/files/patch-tests_f_Makefile.in
@@ -0,0 +1,12 @@
+--- tests/f/Makefile.in.orig 2008-02-08 15:21:56.000000000 +0100
++++ tests/f/Makefile.in 2008-03-23 00:29:37.000000000 +0100
+@@ -387,7 +387,8 @@
+ AM_LIBTOOLFLAGS = --tag=F77
+ testfdir = $(bindir)/testf
+ @WITHF90_TRUE@mycheckPROGRAMS = test5 test7 test9 test11 test13 test15 test17 test30
+-@WITHF90_TRUE@myTESTS_LEC = test5.sh test7.sh test9.sh test11.sh test13.sh test15.sh test17.sh test30.sh
++# FreeBSD: test9.sh disabled because test8.med seems invalid
++@WITHF90_TRUE@myTESTS_LEC = test5.sh test7.sh test11.sh test13.sh test15.sh test17.sh test30.sh
+ @WITHF90_TRUE@test5_SOURCES = test5.f90
+ @WITHF90_TRUE@test7_SOURCES = test7.f90
+ @WITHF90_TRUE@test9_SOURCES = test9.f90
diff --git a/french/med/files/patch-tools::mdump::Makefile.in b/french/med/files/patch-tools::mdump::Makefile.in
index d0e65b6b4d85..ad2e36a6548b 100644
--- a/french/med/files/patch-tools::mdump::Makefile.in
+++ b/french/med/files/patch-tools::mdump::Makefile.in
@@ -1,16 +1,15 @@
---- tools/mdump/Makefile.in.orig Tue Aug 30 10:20:21 2005
-+++ tools/mdump/Makefile.in Mon Jan 9 21:24:41 2006
-@@ -65,10 +65,10 @@
+--- ./tools/mdump/Makefile.in.orig 2008-02-08 15:21:56.000000000 +0100
++++ ./tools/mdump/Makefile.in 2008-03-22 14:44:07.000000000 +0100
+@@ -61,10 +61,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-tools::medconforme::Makefile.in b/french/med/files/patch-tools::medconforme::Makefile.in
index 055849fd257c..896fd9059208 100644
--- a/french/med/files/patch-tools::medconforme::Makefile.in
+++ b/french/med/files/patch-tools::medconforme::Makefile.in
@@ -1,16 +1,15 @@
---- tools/medconforme/Makefile.in.orig Tue Aug 30 10:20:21 2005
-+++ tools/medconforme/Makefile.in Mon Jan 9 21:26:32 2006
-@@ -62,10 +62,10 @@
+--- ./tools/medconforme/Makefile.in.orig 2008-02-08 15:21:57.000000000 +0100
++++ ./tools/medconforme/Makefile.in 2008-03-22 14:48:29.000000000 +0100
+@@ -58,10 +58,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/files/patch-tools::medimport::Makefile.in b/french/med/files/patch-tools::medimport::Makefile.in
index 1bb6f2d4742e..5b37aea0264d 100644
--- a/french/med/files/patch-tools::medimport::Makefile.in
+++ b/french/med/files/patch-tools::medimport::Makefile.in
@@ -1,16 +1,15 @@
---- tools/medimport/Makefile.in.orig Tue Aug 30 10:20:21 2005
-+++ tools/medimport/Makefile.in Mon Jan 9 21:28:17 2006
-@@ -62,10 +62,10 @@
+--- ./tools/medimport/Makefile.in.orig 2008-02-08 15:21:58.000000000 +0100
++++ ./tools/medimport/Makefile.in 2008-03-22 14:50:26.000000000 +0100
+@@ -89,10 +89,10 @@
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
-- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-- $(AM_CFLAGS) $(CFLAGS)
-+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) \
-+ $(CPPFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
diff --git a/french/med/pkg-plist b/french/med/pkg-plist
index 21441d876e43..59badf8b2a05 100644
--- a/french/med/pkg-plist
+++ b/french/med/pkg-plist
@@ -2,14 +2,19 @@ bin/mdump
bin/medconforme
bin/medimport
bin/xmdump
+include/MAJ_21_22.h
+include/MAJ_231_232.h
+include/MEDerreur.hxx
+include/MEDimport.h
+include/MEDimport.hxx
include/med.h
include/med.hf
-include/med_config.h
-include/med_hdfi.h
-include/med_misc.h
-include/med_outils.h
+include/med21.h
+include/med_hdfi21.h
+include/med_hdfi231.h
include/med_proto.h
include/med_utils.h
+include/med_win_dll.h
lib/libmed.a
lib/libmed.la
lib/libmed.so
@@ -18,6 +23,14 @@ lib/libmedC.a
lib/libmedC.la
lib/libmedC.so
lib/libmedC.so.2
+lib/libmedimport.a
+lib/libmedimport.la
+lib/libmedimport.so
+lib/libmedimport.so.0
+lib/libmedimportcxx.a
+lib/libmedimportcxx.la
+lib/libmedimportcxx.so
+lib/libmedimportcxx.so.0
%%EXAMPLESDIR%%/testc/test1
%%EXAMPLESDIR%%/testc/test10
%%EXAMPLESDIR%%/testc/test11
@@ -53,9 +66,13 @@ lib/libmedC.so.2
%%EXAMPLESDIR%%/testc/test9
%%EXAMPLESDIR%%/testf/test1
%%EXAMPLESDIR%%/testf/test10
+%%EXAMPLESDIR%%/testf/test11
%%EXAMPLESDIR%%/testf/test12
+%%EXAMPLESDIR%%/testf/test13
%%EXAMPLESDIR%%/testf/test14
+%%EXAMPLESDIR%%/testf/test15
%%EXAMPLESDIR%%/testf/test16
+%%EXAMPLESDIR%%/testf/test17
%%EXAMPLESDIR%%/testf/test18
%%EXAMPLESDIR%%/testf/test19
%%EXAMPLESDIR%%/testf/test2
@@ -70,12 +87,16 @@ lib/libmedC.so.2
%%EXAMPLESDIR%%/testf/test28
%%EXAMPLESDIR%%/testf/test29
%%EXAMPLESDIR%%/testf/test3
+%%EXAMPLESDIR%%/testf/test30
%%EXAMPLESDIR%%/testf/test31
%%EXAMPLESDIR%%/testf/test32
%%EXAMPLESDIR%%/testf/test33
%%EXAMPLESDIR%%/testf/test4
+%%EXAMPLESDIR%%/testf/test5
%%EXAMPLESDIR%%/testf/test6
+%%EXAMPLESDIR%%/testf/test7
%%EXAMPLESDIR%%/testf/test8
+%%EXAMPLESDIR%%/testf/test9
%%PORTDOCS%%%%DOCSDIR%%/gif/MED.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/aggregation.gif
%%PORTDOCS%%%%DOCSDIR%%/gif/architecture.gif
@@ -157,6 +178,7 @@ lib/libmedC.so.2
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump1.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump2.jpg
%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/jpg/xmdump4.jpg
%%PORTDOCS%%%%DOCSDIR%%/med.css
%%PORTDOCS%%%%DOCSDIR%%/png/MED_fichier.png
%%PORTDOCS%%%%DOCSDIR%%/png/agregation.png
@@ -198,6 +220,7 @@ lib/libmedC.so.2
%%PORTDOCS%%%%DOCSDIR%%/png/resultat.png
%%PORTDOCS%%%%DOCSDIR%%/png/sequence_de_calcul.png
%%PORTDOCS%%%%DOCSDIR%%/png/sous-domaines.png
+%%PORTDOCS%%%%DOCSDIR%%/png/temp-vitesse.png
%%PORTDOCS%%%%DOCSDIR%%/png/types_de_base.png
%%PORTDOCS%%%%DOCSDIR%%/png/valeur_sur_entite.png
%%PORTDOCS%%%%DOCSDIR%%/png/variable_scalaire_numerique.png