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-nurbsS_sp.h | |
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-nurbsS_sp.h')
-rw-r--r-- | graphics/nurbs++/files/patch-nurbsS_sp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-nurbsS_sp.h b/graphics/nurbs++/files/patch-nurbsS_sp.h new file mode 100644 index 000000000000..730c0a578fe0 --- /dev/null +++ b/graphics/nurbs++/files/patch-nurbsS_sp.h @@ -0,0 +1,11 @@ +--- nurbs/nurbsS_sp.h.orig Mon May 13 14:07:46 2002 ++++ nurbs/nurbsS_sp.h Fri Dec 1 00:48:44 2006 +@@ -78,7 +78,7 @@ + + + void modSurfCPby(int i, int j, const HPoint_nD<T,N>& a) //!< Moves a surface point by a value +- { P(i,j) += a / (maxU[i]*maxV[j]) ; } ++ { this->P(i,j) += a / (maxU[i]*maxV[j]) ; } + void modSurfCP(int i, int j, const HPoint_nD<T,N>& a) //!< Moves a surface point to a value + { modSurfCPby(i,j,a-surfP(i,j)) ; } + |