From 564a799c7173c288d4d3a9be78ac3d2db983d512 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 16 Feb 2014 17:15:31 +0000 Subject: Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases USE_GCC=yes has been omitted though. Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk. Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,... Exp-run: bdrewery Approved by: portmgr (bdrewery) --- science/netcdf4/files/patch-cxx4-ncGroup.cpp | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 science/netcdf4/files/patch-cxx4-ncGroup.cpp (limited to 'science/netcdf4/files/patch-cxx4-ncGroup.cpp') diff --git a/science/netcdf4/files/patch-cxx4-ncGroup.cpp b/science/netcdf4/files/patch-cxx4-ncGroup.cpp new file mode 100644 index 000000000000..bf0fc7d1bb05 --- /dev/null +++ b/science/netcdf4/files/patch-cxx4-ncGroup.cpp @@ -0,0 +1,29 @@ +--- cxx4/ncGroup.cpp.orig ++++ cxx4/ncGroup.cpp +@@ -218,7 +218,7 @@ + + // search in child groups of the children + if(location == ChildrenOfChildrenGrps || location == AllChildrenGrps || location == AllGrps ) { +- map::iterator it; ++ multimap::iterator it; + multimap groups(getGroups(ChildrenGrps)); + for (it=groups.begin();it!=groups.end();it++) { + multimap childGroups(it->second.getGroups(AllChildrenGrps)); +@@ -1251,7 +1251,7 @@ + // search in current group and parent groups. + NcGroup tmpGroup(*this); + multimap::iterator itD; +- map::iterator itV; ++ multimap::iterator itV; + while(1) { + // get the collection of NcDim objects defined in this group. + multimap dimTmp(tmpGroup.getDims()); +@@ -1289,7 +1289,7 @@ + // search in current group and parent groups. + multimap::iterator itD; + NcGroup tmpGroup(*this); +- map::iterator itV; ++ multimap::iterator itV; + while(1) { + // get the collection of NcDim objects defined in this group. + multimap dimTmp(tmpGroup.getDims()); -- cgit v1.2.3