changeset 4792:ade16902356d

of-optim: avoid compile error
author John W. Eaton <jwe@octave.org>
date Mon, 13 Aug 2018 14:27:16 -0400
parents be0edba8c11c
children 202fa20cf559
files dist-files.mk src/of-optim-1-fixes.patch
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Mon Aug 13 13:31:44 2018 -0400
+++ b/dist-files.mk	Mon Aug 13 14:27:16 2018 -0400
@@ -511,6 +511,7 @@
   of-odepkg-1-fixes.patch \
   of-odepkg-2-fixes.patch \
   of-odepkg.mk \
+  of-optim-1-fixes.patch \
   of-optim.mk \
   of-optiminterp.mk \
   of-quaternion-1-cross-fixes.patch \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-optim-1-fixes.patch	Mon Aug 13 14:27:16 2018 -0400
@@ -0,0 +1,12 @@
+diff -uNr a/src/error-helpers.cc b/src/error-helpers.cc
+--- a/src/error-helpers.cc	2018-08-01 16:52:02.743298100 -0400
++++ b/src/error-helpers.cc	2018-08-13 13:34:37.085947522 -0400
+@@ -19,6 +19,8 @@
+ 
+ #include <octave/oct.h>
+ 
++#include <iostream>
++
+ #include "error-helpers.h"
+ 
+ // call verror