diff options
author | stephen <stephen@FreeBSD.org> | 2014-11-29 04:21:17 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2014-11-29 04:21:17 +0800 |
commit | 77bd3ff92d6923eeb31d45850ee32d02192b3f9f (patch) | |
tree | 6940ad840d2cd919b41247b123083be66c8a96c2 /cad | |
parent | 02e0d1941c912310fb3df57d5a49e027e3306ae9 (diff) | |
download | freebsd-ports-gnome-77bd3ff92d6923eeb31d45850ee32d02192b3f9f.tar.gz freebsd-ports-gnome-77bd3ff92d6923eeb31d45850ee32d02192b3f9f.tar.zst freebsd-ports-gnome-77bd3ff92d6923eeb31d45850ee32d02192b3f9f.zip |
- Patch to fix build error.
- Bump portrevision.
Reference: http://beefy2.isc.freebsd.org/data/10amd64-default/2014-11-26_04h02m22s/logs/gmsh-2.8.5.log
Obtained from: Comparing to development branch of gmsh.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/gmsh/Makefile | 1 | ||||
-rw-r--r-- | cad/gmsh/files/patch-Mesh-meshGFace.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile index 388dd37f09ef..d51bbd5d2dd6 100644 --- a/cad/gmsh/Makefile +++ b/cad/gmsh/Makefile @@ -3,6 +3,7 @@ PORTNAME= gmsh PORTVERSION= 2.8.5 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.geuz.org/gmsh/src/ \ http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ diff --git a/cad/gmsh/files/patch-Mesh-meshGFace.cpp b/cad/gmsh/files/patch-Mesh-meshGFace.cpp new file mode 100644 index 000000000000..901c99519594 --- /dev/null +++ b/cad/gmsh/files/patch-Mesh-meshGFace.cpp @@ -0,0 +1,11 @@ +--- Mesh/meshGFace.cpp-orig 2014-11-28 19:32:56.000000000 +0000 ++++ Mesh/meshGFace.cpp 2014-11-28 19:34:10.000000000 +0000 +@@ -156,7 +156,7 @@ + MEdge E = _gf->quadrangles[i]->getEdge(j); + SPoint2 p1, p2; + reparamMeshEdgeOnFace(E.getVertex(0),E.getVertex(1),_gf,p1,p2); +- std::map<MEdge, MVertex *>::iterator it = _middle.find(E); ++ std::map<MEdge, MVertex *, Less_Edge>::iterator it = _middle.find(E); + std::map<MEdge, MVertex *, Less_Edge>::iterator it2 = eds.find(E); + m[j] = p1; + if (it == _middle.end() && it2 == eds.end()){ |