summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2019-12-24 01:58:48 +0000
committerdbj <dbj@pkgsrc.org>2019-12-24 01:58:48 +0000
commit841dea8879c4e70cc102b51217207e1d67d934f1 (patch)
tree7e4a95799d9f97dae800d2d214e4ff4980a95d31 /math/octave
parent40db1a5db160ad4b70cffda80183a70a990e9131 (diff)
downloadpkgsrc-841dea8879c4e70cc102b51217207e1d67d934f1.tar.gz
math/octave: add missing header for use of exit system call
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/distinfo3
-rw-r--r--math/octave/patches/patch-liboctave_util_quit.cc14
2 files changed, 16 insertions, 1 deletions
diff --git a/math/octave/distinfo b/math/octave/distinfo
index 294a518d510..5434fc8d38a 100644
--- a/math/octave/distinfo
+++ b/math/octave/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2019/03/05 11:11:12 ryoon Exp $
+$NetBSD: distinfo,v 1.57 2019/12/24 01:58:48 dbj Exp $
SHA1 (octave-5.1.0.tar.gz) = 75a5ec450473e4c39290fdab9feade4a5739e465
RMD160 (octave-5.1.0.tar.gz) = b8b4469d70f1b67be688e12ff551e6b614c70213
@@ -11,6 +11,7 @@ SHA1 (patch-libgnu_stdio.in.h) = 112a424655d46c75fb68531fe7a84d9a0e97a984
SHA1 (patch-libinterp_corefcn_input.cc) = 1dc78f00ffbb41f493ebc0889cc0a37d598507c5
SHA1 (patch-libinterp_dldfcn_config-module.awk) = 54b64357b1ef80c5e55eb5eccf742d2267eb277d
SHA1 (patch-libinterp_dldfcn_module.mk) = 2362d824497a8892078437c24757ae1e40e2e556
+SHA1 (patch-liboctave_util_quit.cc) = 8e0209068be7d48ccebbce0e08a29072c07b0d22
SHA1 (patch-liboctave_wrappers_iconv-wrappers.h) = 9995e784844ae2c2d7a77f975cd8b8954ab8a773
SHA1 (patch-m4_acinclude.m4) = 16dfa3a47403b0c6bc5935fdb5f1162a393b3f25
SHA1 (patch-scripts_miscellaneous_unpack.m) = 82c9ca170762e223c8e5a6f88a7dd9fe2a2a33d0
diff --git a/math/octave/patches/patch-liboctave_util_quit.cc b/math/octave/patches/patch-liboctave_util_quit.cc
new file mode 100644
index 00000000000..683a9f1f7e2
--- /dev/null
+++ b/math/octave/patches/patch-liboctave_util_quit.cc
@@ -0,0 +1,14 @@
+$NetBSD: patch-liboctave_util_quit.cc,v 1.1 2019/12/24 01:58:48 dbj Exp $
+
+Add missing header file for use of exit system call
+
+--- liboctave/util/quit.cc.orig 2019-02-23 17:33:37.000000000 +0000
++++ liboctave/util/quit.cc
+@@ -25,6 +25,7 @@ along with Octave; see the file COPYING.
+ #endif
+
+ #include <cstring>
++#include <cstdlib>
+
+ #include <new>
+