med: add a space between literal and identifier (#14646)

This commit is contained in:
noguchi-k 2020-01-29 05:59:23 +09:00 committed by Adam J. Stewart
parent 16da648d03
commit da091c0cf5
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- spack-src/tools/medimport/2.3.1/MED231champRefInfoEtRenMaabuilt.cxx.org 2020-01-28 16:02:49.656440054 +0900
+++ spack-src/tools/medimport/2.3.1/MED231champRefInfoEtRenMaabuilt.cxx 2020-01-28 16:03:45.222261190 +0900
@@ -95,7 +95,7 @@
SSCRUTE(maai); goto ERROR;
}
if ( MAJ_231_232_chaine(maai,maaf) ) {
- fprintf(stdout," >>> Normalisation du nom de maillage par défaut [%s] associé au champ [%s] pour (n°dt,n°it) ("IFORMAT","IFORMAT")\n",maai,champ,numdt,numo);
+ fprintf(stdout," >>> Normalisation du nom de maillage par défaut [%s] associé au champ [%s] pour (n°dt,n°it) (" IFORMAT "," IFORMAT ")\n",maai,champ,numdt,numo);
ret = _MEDattrStringEcrire(datagroup2,MED_NOM_MAI,MED_TAILLE_NOM,maaf);
EXIT_IF(ret < 0,"Renommage du maillage en",maaf);
fprintf(stdout," >>> Normalisation du nom du maillage par défaut [%s] ... OK ... \n",maaf);
@@ -120,7 +120,7 @@
if ( MAJ_231_232_chaine(maa,maaf) ) {
- fprintf(stdout," >>> Normalisation du nom de maillage [%s] associé au champ [%s] pour (n°dt,n°it) ("IFORMAT","IFORMAT")\n",maa,champ,numdt,numo);
+ fprintf(stdout," >>> Normalisation du nom de maillage [%s] associé au champ [%s] pour (n°dt,n°it) (" IFORMAT "," IFORMAT ")\n",maa,champ,numdt,numo);
/* on accede au maillage */
strcpy(chemini,chemin);
strcat(chemini,maa);

View File

@ -22,6 +22,9 @@ class Med(CMakePackage):
depends_on('mpi')
depends_on('hdf5@:1.8.19+mpi')
# C++11 requires a space between literal and identifier
patch('add_space.patch')
# FIXME This is minimal installation.
def cmake_args(self):