diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-15 17:39:03 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-15 17:39:03 +0000 |
commit | c4adc8534a0e26b7b00b4a258ea43fb0721646d3 (patch) | |
tree | 034f88b668d23255c88b42700e56e74e69349ea2 /graphics/nurbs++/files/patch-nurbs_d_surface.cpp | |
parent | Chase the recent update for mail/p5-Mail-SpamAssassin (ports/120570) (diff) |
- Fix build with gcc 4.2
- Pass maintainership to submitter
PR: 120626
Submitted by: Pietro Cerutti <gahr@gahr.ch>
Diffstat (limited to 'graphics/nurbs++/files/patch-nurbs_d_surface.cpp')
-rw-r--r-- | graphics/nurbs++/files/patch-nurbs_d_surface.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-nurbs_d_surface.cpp b/graphics/nurbs++/files/patch-nurbs_d_surface.cpp new file mode 100644 index 000000000000..09cd985bfe79 --- /dev/null +++ b/graphics/nurbs++/files/patch-nurbs_d_surface.cpp @@ -0,0 +1,24 @@ +--- nurbs/d_surface.cpp.orig 2008-02-13 22:34:54.000000000 +0100 ++++ nurbs/d_surface.cpp 2008-02-13 22:35:05.000000000 +0100 +@@ -19,21 +19,4 @@ + cerr << "NOT DEFINED FOR 2D SURFACES.\n" ; + return 0; + } +- +-#ifdef NO_IMPLICIT_TEMPLATES +- +- template class InterPoint<double,2> ; +- template class InterPoint<double,3> ; +- +- template class BasicList<InterPoint<double,2> > ; +- template class BasicList<InterPoint<double,3> > ; +- +- template class ParaSurface<double,2> ; +- template class ParaSurface<double,3> ; +- +- template void intersectSurfaces(const ParaSurface<double,2>&, const ParaSurface<double,2>&, BasicList<InterPoint<double,2> >&, int, double, double, double, double) ; +- template void intersectSurfaces(const ParaSurface<double,3>&, const ParaSurface<double,3>&, BasicList<InterPoint<double,3> >&, int, double, double, double, double) ; +- +-#endif +- + } |