Mercurial > mxe-octave
changeset 5238:60f56afa9506
Fix building of-sockets with default-octave.
* src/of-sockets-2-deprecated.patch: Add patch to replace deprecated header.
* dist-files.mk: Include new file.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 15 Dec 2019 13:30:34 +0100 |
parents | e2f8764125a1 |
children | cb5ee29e4318 |
files | dist-files.mk src/of-sockets-2-deprecated.patch |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Fri Dec 13 18:41:35 2019 +0100 +++ b/dist-files.mk Sun Dec 15 13:30:34 2019 +0100 @@ -512,6 +512,7 @@ of-queueing.mk \ of-signal.mk \ of-sockets-1-cross-fixes.patch \ + of-sockets-2-deprecated.patch \ of-sockets.mk \ of-sparsersb-1-deprecated.patch \ of-sparsersb.mk \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-sockets-2-deprecated.patch Sun Dec 15 13:30:34 2019 +0100 @@ -0,0 +1,13 @@ +diff -r a0f23a7c3bd0 src/socket.cc +--- a/src/socket.cc Fri Jan 30 15:27:56 2015 +0100 ++++ b/src/socket.cc Sun Dec 15 13:11:55 2019 +0100 +@@ -19,7 +19,7 @@ + // Octave Includes + #include <octave/oct.h> + #include <octave/parse.h> +-#include <octave/toplev.h> ++#include <octave/interpreter.h> + #include <octave/cmd-hist.h> + #include <octave/symtab.h> + #include <octave/variables.h> +