diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-01 09:55:32 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-01 09:55:32 +0000 |
commit | 95465b01db26cdfe513eaac771267c536fabeca3 (patch) | |
tree | 023ce3e0a24c427f5a51e479107d031760d6cecb /graphics/nurbs++/files/patch-d_nurbsSub.cpp | |
parent | - Reserve UID/GID 143 for mail/dovecot (diff) |
- Unbreak on 5.X and above: fix compile with gcc34
PR: ports/106117
Submitted by: Peter Johnson <johnson.peter@gmail.com>
Diffstat (limited to 'graphics/nurbs++/files/patch-d_nurbsSub.cpp')
-rw-r--r-- | graphics/nurbs++/files/patch-d_nurbsSub.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-d_nurbsSub.cpp b/graphics/nurbs++/files/patch-d_nurbsSub.cpp new file mode 100644 index 000000000000..2a3ddc4842b5 --- /dev/null +++ b/graphics/nurbs++/files/patch-d_nurbsSub.cpp @@ -0,0 +1,13 @@ +--- nurbs/d_nurbsSub.cpp.orig Mon May 13 13:11:57 2002 ++++ nurbs/d_nurbsSub.cpp Fri Dec 1 01:17:36 2006 +@@ -14,8 +14,8 @@ + template class RenderMeshPoints<double> ; + + +- double NurbSurface<double>::epsilon = 1e-6 ; +- double SurfSample<double>::epsilon = 1e-6 ; ++ template <> double NurbSurface<double>::epsilon = 1e-6 ; ++ template <> double SurfSample<double>::epsilon = 1e-6 ; + + template void DrawSubdivision( NurbSurface<double> *, double tolerance ); + template void DrawEvaluation( NurbSurface<double> * ); |