Mercurial > mxe-octave
view src/of-optim-1-fixes.patch @ 3554:b1ca68ddd02c
build native-gcc using untared dependancies within gcc source tree
* src/native-gcc.mk: untar gmp, mpc, mpfr, cloog and isl into the gcc source tree before configure and build, set sysroot.
* src/native-binutils.mk: set sysroot path.
* src/mingw-w64-1-math-h.patch, mingw-w64-2-float-h.patch: New files.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 21 Feb 2014 06:05:39 -0500 |
parents | 04791633efbc |
children |
line wrap: on
line source
diff -rNu a/src/__bfgsmin.cc b/src/__bfgsmin.cc --- a/src/__bfgsmin.cc 2012-03-30 11:14:48.000000000 -0400 +++ b/src/__bfgsmin.cc 2013-01-14 12:07:15.639384929 -0500 @@ -25,6 +25,7 @@ #include <octave/Cell.h> #include <octave/lo-mappers.h> #include <float.h> +#include <limits.h> #include "error.h" int __bfgsmin_obj(double &obj, const std::string f, const octave_value_list f_args, const ColumnVector theta, const int minarg)