summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz>2017-03-20 13:13:51 +0000
committerwiz <wiz>2017-03-20 13:13:51 +0000
commit7724216534350a2220d65b51ecdfe15e4f27d5ef (patch)
tree66219044e211d20247d241407d5e1e76d910df7a /math
parent0c5b0ba22ac7fe621cb3d105f51392db5131cd71 (diff)
downloadpkgsrc-7724216534350a2220d65b51ecdfe15e4f27d5ef.tar.gz
Updated nickle to 2.79.
Ensure data cache value array is aligned adequately Data caches are used to store pointers and other potentially long values. Make sure that the position of the values portion of the cache is aligned to a suitable address. Fixes a bus error on sparc64 machines. Building nickle on arm64 now, change package names built .deb and .rpm files are now amd64 instead of i386 Update to version 2.78 Also depend on bison and flex newer version of flex doesn't have yyunput This line was just removing a warning about yyunput unused; newer versions of flex don't even have that symbol anymore. Better to have a warning than fail to compile. Adapt tests to new automake requirements Automake now has a separate variable for the program to run the test scripts with, and breaks if you try to embed that in the TESTS_ENVIRONMENT variable, which used to be how this was done. Use 'G' format for elements when printing arrays in 'g' format This restricts array printing to just recurse one level. When using pointer as hash, first cast to intptr_t This avoids a compiler warning when pointers are not the same size as HashValues. Initialize 'replace' in NewTypedBox When left uninitialized, undefined results will occur. This caused a test failure on MIPS when being built with PIE support. Debian bug 857840. Reported-by: James Cowgill <jcowgill@debian.org> Open quote character is a single char, not a string When checking to see if a string needs to be dequoted, check the first character of the string against the quote character, rather than checking the whole string. Probably using strings for the quote markers wasn't the best API choice as this would have been caught by typechecking had the quote characters been an int instead. Define release date in configure.ac and use that instead of build date This avoids encoding the current date into the resulting output so that it can be reproduced. Add JSON input/output code Reverse data written in linked FileChains FileChains are linked in newest-in order, so they need to be written last-first. Add is_hash primitive Checks whether a value is a hash Abort karatsuba multiply in more places removed gratuitous -O2 from Makefile.am to let CFLAGS handle it Added a lightly-optimized choose(n, k) function to math.5c. The lack of a choose operator has continually bugged me; I've constantly rewritten it "the bad way". This is a lightly optimized version of that function that seems to handle most edge cases reasonably. It has only been tested a little bit. added check mode to sudoku solver cleaned up a bunch of sudoku solver stuff added edge cache to sudoku example tutorial: Close a couple of SGML tags nsgmls found a couple of unclosed tags which may make some versions of docbook tools unhappy. Fix release docs to use git log instead of git-log git-log disappeared a long time ago actually added Sudoku example added Sudoku generator example added sudoku example
Diffstat (limited to 'math')
-rw-r--r--math/nickle/Makefile9
-rw-r--r--math/nickle/PLIST4
-rw-r--r--math/nickle/distinfo10
3 files changed, 11 insertions, 12 deletions
diff --git a/math/nickle/Makefile b/math/nickle/Makefile
index 5a8ee5c8ae6..7a014943d1d 100644
--- a/math/nickle/Makefile
+++ b/math/nickle/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2013/08/12 02:17:43 obache Exp $
+# $NetBSD: Makefile,v 1.16 2017/03/20 13:13:51 wiz Exp $
-DISTNAME= nickle-2.77
+DISTNAME= nickle-2.79
CATEGORIES= math lang
MASTER_SITES= http://nickle.org/release/
@@ -16,8 +16,5 @@ CONFIGURE_ENV+= ac_cv_path_DOCBOOK2PDF=
TEST_TARGET= check
-.include "../../mk/bsd.prefs.mk"
-
-# lex.l:131:5: error: 'rl_catch_signals' undeclared (first use in this function)
-.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/nickle/PLIST b/math/nickle/PLIST
index 6e3e5e0d0ef..13acf1db9f7 100644
--- a/math/nickle/PLIST
+++ b/math/nickle/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2013/05/26 20:14:48 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/03/20 13:13:51 wiz Exp $
bin/nickle
include/nickle/builtin-namespaces.h
include/nickle/builtin.h
@@ -44,6 +44,7 @@ share/nickle/examples/smlng/context.5c
share/nickle/examples/smlng/generate.5c
share/nickle/examples/smlng/parse.5c
share/nickle/examples/smlng/test.5c
+share/nickle/examples/sudoku.5c
share/nickle/examples/turtle/COPYING
share/nickle/examples/turtle/snowflake.5c
share/nickle/examples/turtle/snowflake.tex
@@ -52,6 +53,7 @@ share/nickle/factorial.5c
share/nickle/file.5c
share/nickle/gamma.5c
share/nickle/history.5c
+share/nickle/json.5c
share/nickle/list.5c
share/nickle/math.5c
share/nickle/mutex.5c
diff --git a/math/nickle/distinfo b/math/nickle/distinfo
index be7bed028c9..bee18da356c 100644
--- a/math/nickle/distinfo
+++ b/math/nickle/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 23:33:37 agc Exp $
+$NetBSD: distinfo,v 1.10 2017/03/20 13:13:51 wiz Exp $
-SHA1 (nickle-2.77.tar.gz) = b391e9fdc4e1bf48edeb10e587f472f04f571f29
-RMD160 (nickle-2.77.tar.gz) = e7ded0e5807c1c85f96d76aaf7183c8f29f936a9
-SHA512 (nickle-2.77.tar.gz) = 05893f5979df2e09aedec1d0003a35a2591c6d9282452412ee0602f2d5f203b3e230a1cba75e8d07c946864bc517c812fd683eff6cd354d76bdf525897b9665f
-Size (nickle-2.77.tar.gz) = 553206 bytes
+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