pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/nickle Fix build problem on NetBSD 6.1_STABLE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37afc401ad54
branches:  trunk
changeset: 361648:37afc401ad54
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 23 14:49:27 2017 +0000

description:
Fix build problem on NetBSD 6.1_STABLE.

* Guard use of rl_catch_signals variable with "#if HAVE_RL_CATCH_SIGNALS".

Add comment in patch/patch-aa quote from last commit message.

diffstat:

 math/nickle/distinfo            |   5 +++--
 math/nickle/patches/patch-aa    |   4 +++-
 math/nickle/patches/patch-lex.c |  17 +++++++++++++++++
 3 files changed, 23 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 56688743d589 -r 37afc401ad54 math/nickle/distinfo
--- a/math/nickle/distinfo      Sun Apr 23 14:21:23 2017 +0000
+++ b/math/nickle/distinfo      Sun Apr 23 14:49:27 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2017/03/20 13:13:51 wiz Exp $
+$NetBSD: distinfo,v 1.11 2017/04/23 14:49:27 taca Exp $
 
 SHA1 (nickle-2.79.tar.gz) = 86722b07df9eebf99789b91a0c576f14af8ea739
 RMD160 (nickle-2.79.tar.gz) = a6a211cf1171960c0cab45c9d2206d5ae4abd374
 SHA512 (nickle-2.79.tar.gz) = 3a98dc0e318a62e48b00cbc7bb1324be5c2461b29637ee77fe8ad3d788fdd32b7d896ca5e457edfd86f580901ffcb543d5f27442def271c267096aa9552f45f3
 Size (nickle-2.79.tar.gz) = 581560 bytes
-SHA1 (patch-aa) = 0b1e03f3e42ea088c5a81109e9534c77efe30659
+SHA1 (patch-aa) = 4cbb563244883f6c9f7a3594875052f8d9a9e9b3
+SHA1 (patch-lex.c) = f9d5f3f282f97a94195730062525e9f6310bb316
diff -r 56688743d589 -r 37afc401ad54 math/nickle/patches/patch-aa
--- a/math/nickle/patches/patch-aa      Sun Apr 23 14:21:23 2017 +0000
+++ b/math/nickle/patches/patch-aa      Sun Apr 23 14:49:27 2017 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2010/01/15 23:09:28 tnn Exp $
+$NetBSD: patch-aa,v 1.5 2017/04/23 14:49:27 taca Exp $
+
+* Fix build issue with Sun Studio.
 
 --- execute.c.orig     2008-03-20 00:21:49.000000000 +0000
 +++ execute.c
diff -r 56688743d589 -r 37afc401ad54 math/nickle/patches/patch-lex.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/nickle/patches/patch-lex.c   Sun Apr 23 14:49:27 2017 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-lex.c,v 1.1 2017/04/23 14:49:27 taca Exp $
+
+Assign rl_catch_signals only if HAVE_RL_CATCH_SIGNALS.
+
+--- lex.c.orig 2017-03-15 21:28:13.000000000 +0000
++++ lex.c
+@@ -927,8 +927,10 @@ LexInit (void)
+     rl_getc_function = ReadlineGetChar;
+     rl_prep_term_function = my_prep_terminal;
+     rl_deprep_term_function = my_deprep_terminal;
++#if HAVE_RL_CATCH_SIGNALS
+     rl_catch_signals = 0;
+ #endif
++#endif
+     LexInputReference = NewReference ((void **) &lexInput);
+     MemAddRoot (LexInputReference);
+     EXIT ();



Home | Main Index | Thread Index | Old Index