File mtl-2.1.2-gcc47.patch of Package mtl
Index: mtl-2.1.2-23/test/src/algo_test.h
===================================================================
--- mtl-2.1.2-23.orig/test/src/algo_test.h
+++ mtl-2.1.2-23/test/src/algo_test.h
@@ -8,6 +8,10 @@
using mtl::dense1D;
template <class Matrix>
+void
+set_diagonal_test(std::string test_name, Matrix& A, bool& success);
+
+template <class Matrix>
bool
mat_algo_test(Matrix& A, std::string test_name)
{
Index: mtl-2.1.2-23/test/src/matrix_test.h
===================================================================
--- mtl-2.1.2-23.orig/test/src/matrix_test.h
+++ mtl-2.1.2-23/test/src/matrix_test.h
@@ -52,6 +52,10 @@ using mtl::not_strideable;
#include "fill_matrix.h"
+template <class Matrix>
+void
+do_test(Matrix& A, std::string test_name);
+
template <class Matrix>
void