freebsd-ports/graphics/nurbs++/files/patch-nurbs_d_nurbs.cpp
Alexey Dokuchaev 25f100a96e - 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
2015-10-21 16:34:23 +00:00

11 lines
460 B
C++

--- nurbs/d_nurbs.cpp.orig 2008-02-13 22:33:03.000000000 +0100
+++ nurbs/d_nurbs.cpp 2008-02-13 22:33:32.000000000 +0100
@@ -10,7 +10,7 @@
return firstDn(u) ;
}
-void NurbsCurve<double,2>::makeCircle(const Point_nD<double,2>& O, double r, double as, double ae){
+template<> void NurbsCurve<double,2>::makeCircle(const Point_nD<double,2>& O, double r, double as, double ae){
makeCircle(O,Point_nD<double,2>(1,0),Point_nD<double,2>(0,1),r,as,ae) ;
}