summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/epos/files/epos-2.5.37-gcc7.patch')
-rw-r--r--app-accessibility/epos/files/epos-2.5.37-gcc7.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc7.patch b/app-accessibility/epos/files/epos-2.5.37-gcc7.patch
new file mode 100644
index 000000000000..6c889a662c2a
--- /dev/null
+++ b/app-accessibility/epos/files/epos-2.5.37-gcc7.patch
@@ -0,0 +1,22 @@
+Bug: https://bugs.gentoo.org/638596
+
+--- a/src/nnet/matrix.cc
++++ b/src/nnet/matrix.cc
+@@ -63,7 +63,7 @@
+ template<class T> void CMatrix<T>::multiplyByTransponed (const CMatrix &y, CMatrix &retval)
+ {
+ int i,j,k;
+- assert (cols == y.cols);
++ this->assert (cols == y.cols);
+ if (cols != y.cols) { retval.Realloc (0,0); return; }
+
+ T sum;
+@@ -80,7 +80,7 @@
+ template<class T> void CMatrix<T>::transponedMultiply (const CMatrix &y, CMatrix &retval)
+ {
+ int i,j,k;
+- assert (rows == y.rows);
++ this->assert (rows == y.rows);
+ if (rows != y.rows) { retval.Realloc (0,0); return; }
+
+ T sum;