aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2014-11-28 20:21:17 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2014-11-28 20:21:17 +0000
commitdcc9f5e5b8b3f1975995771194aad109aa20367a (patch)
tree6940ad840d2cd919b41247b123083be66c8a96c2 /cad
parent712e0fe00649ffe9ab1091ffc1b111f2664ad2d4 (diff)
downloadports-dcc9f5e5b8b3f1975995771194aad109aa20367a.tar.gz
ports-dcc9f5e5b8b3f1975995771194aad109aa20367a.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/gmsh/Makefile1
-rw-r--r--cad/gmsh/files/patch-Mesh-meshGFace.cpp11
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()){