summaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-nurbs_d_surface.cpp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-10-21 16:34:23 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-10-21 16:34:23 +0000
commit25f100a96eb494b028046e8856f583888842f9f7 (patch)
tree653c1822c740431dbf2afd09e9441b12a77e717e /graphics/nurbs++/files/patch-nurbs_d_surface.cpp
parentMark JOBS_UNSAFE, it sometime fails with: (diff)
- Resurrect; unbreak on all supported versions of FreeBSD (and 8.X)
- Drop leading indefinite article from COMMENT text - Stagify, convert to USES=libtool, switch to .tar.bz2 distfile
Diffstat (limited to 'graphics/nurbs++/files/patch-nurbs_d_surface.cpp')
-rw-r--r--graphics/nurbs++/files/patch-nurbs_d_surface.cpp24
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
+-
+ }