pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/nickle Updated nickle to 2.79.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17fa62e32dd0
branches:  trunk
changeset: 359912:17fa62e32dd0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 20 13:13:51 2017 +0000

description:
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@localhost>


    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:

 math/nickle/Makefile |   9 +++------
 math/nickle/PLIST    |   4 +++-
 math/nickle/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 12 deletions(-)

diffs (63 lines):

diff -r bffbe4d884ed -r 17fa62e32dd0 math/nickle/Makefile
--- a/math/nickle/Makefile      Mon Mar 20 13:04:46 2017 +0000
+++ b/math/nickle/Makefile      Mon Mar 20 13:13:51 2017 +0000
@@ -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 @@
 
 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 -r bffbe4d884ed -r 17fa62e32dd0 math/nickle/PLIST
--- a/math/nickle/PLIST Mon Mar 20 13:04:46 2017 +0000
+++ b/math/nickle/PLIST Mon Mar 20 13:13:51 2017 +0000
@@ -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/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/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 -r bffbe4d884ed -r 17fa62e32dd0 math/nickle/distinfo
--- a/math/nickle/distinfo      Mon Mar 20 13:04:46 2017 +0000
+++ b/math/nickle/distinfo      Mon Mar 20 13:13:51 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index