summaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp')
-rw-r--r--graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp b/graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp
new file mode 100644
index 000000000000..c71fea3227fb
--- /dev/null
+++ b/graphics/nurbs++/files/patch-matrix_matrix_uchar.cpp
@@ -0,0 +1,38 @@
+--- matrix/matrix_uchar.cpp.orig 2008-02-13 22:39:32.000000000 +0100
++++ matrix/matrix_uchar.cpp 2008-02-13 22:40:11.000000000 +0100
+@@ -27,7 +27,7 @@
+
+ namespace PLib {
+
+- Matrix<unsigned char>&
++ template<> Matrix<unsigned char>&
+ Matrix<unsigned char>::operator*=(double a)
+ {
+ unsigned char *p1 ;
+@@ -40,7 +40,7 @@
+ return *this ;
+ }
+
+- Matrix<unsigned char>&
++ template<> Matrix<unsigned char>&
+ Matrix<unsigned char>::operator+=(double a)
+ {
+ unsigned char *p1 ;
+@@ -52,7 +52,7 @@
+ }
+
+
+- Matrix<unsigned char>&
++ template<> Matrix<unsigned char>&
+ Matrix<unsigned char>::operator-=(double a)
+ {
+ unsigned char *p1 ;
+@@ -64,7 +64,7 @@
+ }
+
+
+- Matrix<unsigned char>&
++ template<> Matrix<unsigned char>&
+ Matrix<unsigned char>::operator/=(double a)
+ {
+ unsigned char *p1 ;