view src/of-optim-1-fixes.patch @ 3557:b1a7cff2d2a9

Add octave forge of-netcdf package (and support files) * src/of-netcdf.mk: New file. * src/netcdf.mk: Update checksum for version 4.3.0, install to DESTDIR. * src/hdf5.mk: make make and make install separate, modify libtool script to enable dynamic build of all sub libraries. * index.html: added of-netcdf * dist-files.mk: add of-netcdf.mk * Makefile.in: add of-netcdf * build_packages.m: add install of netcdf-1.0.2.tar.gz
author John Donoghue <john.donoghue@ieee.org>
date Thu, 06 Mar 2014 18:34:21 -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)