diff options
author | adam <adam@pkgsrc.org> | 2020-04-12 21:24:11 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-12 21:24:11 +0000 |
commit | 49ef4c24a5d2c57390c9372731bf5ebb27ed8348 (patch) | |
tree | d2b4fa2ae46adc1814839d7dfe6da53ea00ee59c | |
parent | 81a479b33b81a678141869e139fffad04c66afe5 (diff) | |
download | pkgsrc-49ef4c24a5d2c57390c9372731bf5ebb27ed8348.tar.gz |
octave: fix a patch
-rw-r--r-- | math/octave/patches/patch-liboctave_util_quit.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/octave/patches/patch-liboctave_util_quit.cc b/math/octave/patches/patch-liboctave_util_quit.cc index 683a9f1f7e2..812558f38c9 100644 --- a/math/octave/patches/patch-liboctave_util_quit.cc +++ b/math/octave/patches/patch-liboctave_util_quit.cc @@ -1,14 +1,14 @@ -$NetBSD: patch-liboctave_util_quit.cc,v 1.1 2019/12/24 01:58:48 dbj Exp $ +$NetBSD: patch-liboctave_util_quit.cc,v 1.2 2020/04/12 21:24:11 adam Exp $ -Add missing header file for use of exit system call +Make sure exit() is defined. ---- liboctave/util/quit.cc.orig 2019-02-23 17:33:37.000000000 +0000 +--- liboctave/util/quit.cc.orig 2019-06-15 20:18:59.699714202 +0000 +++ liboctave/util/quit.cc -@@ -25,6 +25,7 @@ along with Octave; see the file COPYING. +@@ -24,6 +24,7 @@ along with Octave; see the file COPYING. + # include "config.h" #endif - #include <cstring> +#include <cstdlib> + #include <cstring> #include <new> - |