Mercurial > mxe-octave
changeset 5991:94e6691fc42f
of-struct: Fix for Octave 8 (bug #61582).
* src/of-struct-1-verror.patch: Add patch to fix compilation with Octave 8.
* dist-files.mk: Add new file to dist.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 29 Nov 2021 13:12:54 +0100 |
parents | 5732a63f3182 |
children | 24d3e9a130b4 |
files | dist-files.mk src/of-struct-1-verror.patch |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Sun Nov 28 22:15:25 2021 +0100 +++ b/dist-files.mk Mon Nov 29 13:12:54 2021 +0100 @@ -554,6 +554,7 @@ of-strings-1-fixes.patch \ of-strings-2-error_state.patch \ of-strings.mk \ + of-struct-1-verror.patch \ of-struct.mk \ of-symbolic.mk \ of-tisean-1-fixes.patch \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-struct-1-verror.patch Mon Nov 29 13:12:54 2021 +0100 @@ -0,0 +1,22 @@ +# HG changeset patch +# User Markus Mützel <markus.muetzel@gmx.de> +# Date 1638187375 -3600 +# Mon Nov 29 13:02:55 2021 +0100 +# Node ID 3d28b7df6df9c5c161f9e4518a03c34d6300f2b4 +# Parent b38448d3d291256bedb125b2c52c40820acdc235 +Fix compilation with Octave 8 (bug #61582). + +* src/error-helpers.h: Use wrapper function. + +diff -r b38448d3d291 -r 3d28b7df6df9 src/error-helpers.h +--- a/src/error-helpers.h Wed Feb 17 13:25:40 2021 +0100 ++++ b/src/error-helpers.h Mon Nov 29 13:02:55 2021 +0100 +@@ -64,7 +64,7 @@ + } \ + catch (OCTAVE__EXECUTION_EXCEPTION& e) \ + { \ +- verror (e, __VA_ARGS__); \ ++ c_verror (e, __VA_ARGS__); \ + } + #endif +