File: include-iostream.patch

package info (click to toggle)
octave-parallel 4.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,752 kB
  • sloc: ansic: 23,442; cpp: 6,790; sh: 4,476; makefile: 290; 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: 2020-04-24

--- octave-parallel-3.1.3.orig/src/configure.ac
+++ octave-parallel-3.1.3/src/configure.ac
@@ -266,8 +266,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