Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave/patches octave: fix a patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6442b6826d0
branches:  trunk
changeset: 428898:b6442b6826d0
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 12 21:24:11 2020 +0000

description:
octave: fix a patch

diffstat:

 math/octave/patches/patch-liboctave_util_quit.cc |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 25b998815c30 -r b6442b6826d0 math/octave/patches/patch-liboctave_util_quit.cc
--- a/math/octave/patches/patch-liboctave_util_quit.cc  Sun Apr 12 21:21:17 2020 +0000
+++ b/math/octave/patches/patch-liboctave_util_quit.cc  Sun Apr 12 21:24:11 2020 +0000
@@ -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 <cstdlib>
  #include <cstring>
-+#include <cstdlib>
  
  #include <new>
- 



Home | Main Index | Thread Index | Old Index