File: include-iostream.patch

package info (click to toggle)
octave-parallel 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,648 kB
  • sloc: ansic: 24,011; cpp: 6,848; sh: 4,476; makefile: 297; perl: 170; xml: 22
file content (28 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Include necessary iostream header
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/index.php?57001
Last-Update: 2023-09-16

--- octave-parallel-3.1.3.orig/src/configure.ac
+++ octave-parallel-3.1.3/src/configure.ac
@@ -268,8 +268,8 @@ dnl  separate test
   [octave::mach_info],
   [[int f = octave::mach_info::flt_fmt_unknown;]],
   [OCTAVE__MACH_INFO],
-  [],
-  []
+  [#include <iostream>],
+  [#include <iostream>]
 ],
 
 [dnl
--- octave-parallel-3.1.3.orig/src/error-helpers.cc
+++ octave-parallel-3.1.3/src/error-helpers.cc
@@ -20,6 +20,7 @@ along with this program; If not, see <ht
 #include <octave/oct.h>
 
 #include "error-helpers.h"
+#include <iostream>
 
 // call verror
 #ifdef HAVE_OCTAVE_VERROR_ARG_EXC