ports/math/octave/files/patch-liboctave-eigs-base.cc
Tijl Coosemans f610f4ceab Replace USE_FORTRAN with USES=fortran such that C/C++ code is built with
Clang/libc++ on FreeBSD 10.  This fixes a crash caused by the use of
libstdc++ while dependencies used libc++.

Approved by:	maho (maintainer)
2013-12-13 13:43:17 +00:00

11 lines
403 B
C++

--- liboctave/eigs-base.cc.orig 2013-02-21 21:19:24.000000000 +0100
+++ liboctave/eigs-base.cc 2013-11-22 20:19:19.000000000 +0100
@@ -3832,7 +3832,7 @@
bool cholB = 0, int disp = 0, int maxit = 300);
#endif
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__clang__)
template static octave_idx_type
lusolve (const SparseMatrix&, const SparseMatrix&, Matrix&);