Mercurial > mxe-octave
comparison src/mingw-default-octave-1-msys-fixes.patch @ 3968:d0d5dacd1941
octave: add msys2 patch
* src/mingw-default-octave-1-msys-fixes.patch: new file
* src/mingw-default-octave-1-msys-fixes.patch: new file
* dist-files.mk: add new patches
* src/default-octave.mk: add ac_cv_search_tputs=-ltermcap configure option for native mingw
* src/octave.mk: add ac_cv_search_tputs=-ltermcap configure option for native mingw
author | John Donoghue |
---|---|
date | Tue, 16 Jun 2015 11:43:16 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3967:55f3a9ff20b8 | 3968:d0d5dacd1941 |
---|---|
1 Changes required for octave to compile under msys2 | |
2 | |
3 diff -ur octave-4.0.0.orig/libinterp/corefcn/syscalls.cc octave-4.0.0/libinterp/corefcn/syscalls.cc | |
4 --- octave-4.0.0.orig/libinterp/corefcn/syscalls.cc 2015-06-14 08:00:55.195888300 -0400 | |
5 +++ octave-4.0.0/libinterp/corefcn/syscalls.cc 2015-06-14 08:50:10.755418300 -0400 | |
6 @@ -30,6 +30,7 @@ | |
7 #include <config.h> | |
8 #endif | |
9 | |
10 +#include <ctime> | |
11 #include <cstdio> | |
12 #include <cstring> | |
13 | |
14 diff -ur octave-4.0.0.orig/liboctave/system/file-stat.cc octave-4.0.0/liboctave/system/file-stat.cc | |
15 --- octave-4.0.0.orig/liboctave/system/file-stat.cc 2015-06-14 08:00:26.881838600 -0400 | |
16 +++ octave-4.0.0/liboctave/system/file-stat.cc 2015-06-14 08:49:10.992967600 -0400 | |
17 @@ -24,6 +24,7 @@ | |
18 #include <config.h> | |
19 #endif | |
20 | |
21 +#include <ctime> | |
22 #include <cerrno> | |
23 #include <cstring> | |
24 | |
25 diff -ur octave-4.0.0.orig/liboctave/system/oct-syscalls.cc octave-4.0.0/liboctave/system/oct-syscalls.cc | |
26 --- octave-4.0.0.orig/liboctave/system/oct-syscalls.cc 2015-06-14 08:00:26.913038700 -0400 | |
27 +++ octave-4.0.0/liboctave/system/oct-syscalls.cc 2015-06-14 08:49:37.309661500 -0400 | |
28 @@ -24,6 +24,7 @@ | |
29 #include <config.h> | |
30 #endif | |
31 | |
32 +#include <ctime> | |
33 #include <cerrno> | |
34 #include <cstdlib> | |
35 | |
36 diff -ur octave-4.0.0.orig/libinterp/corefcn/oct-tex-lexer.cc octave-4.0.0/libinterp/corefcn/oct-tex-lexer.cc | |
37 --- octave-4.0.0.orig/libinterp/corefcn/oct-tex-lexer.cc 2015-06-14 14:15:46.436310300 -0400 | |
38 +++ octave-4.0.0/libinterp/corefcn/oct-tex-lexer.cc 2015-06-14 14:24:23.464145100 -0400 | |
39 @@ -3,7 +3,7 @@ | |
40 #include <config.h> | |
41 #endif | |
42 | |
43 - | |
44 +#include <ctime> | |
45 | |
46 | |
47 #line 10 "corefcn/oct-tex-lexer.cc" |