Fri Dec 18 23:19:16 2020 UTC ()
rgbds: Update to 0.4.2

New:

    We have a website! Accordingly, HTML documentation is no longer distributed in the source or in the release artifacts below. All old documentation links now redirect to the latest release's documentation
    You may also have noticed the repo has been moved to gbdev instead of rednex! Don't worry, the same people are in charge.
    /* Block comments! */
    Whitespace is now allowed between the brackets in [bc], [de] and [hl], also allowing [\1] to work.
    The second number argument to INCBIN can now be omitted, going up to the end of the file
    The argument to rb and rw is now optional, defaulting to 1
    RGBASM and RGBLINK can both use stdin as input, and stdout as output (support yet to come to RGBFIX)
    zsh completion scripts are available in the contrib/ folder. (If you want to make bash ones, apply in #620)

Changes:

    Nested macros are now invalid, but a workaround is possible
    The lexer has been fully rewritten, which should make additions to it easier, and improve performance
    Removed arbitrary limits on charmap size and name length
    STRSUB will no longer warn when taking 0 characters at the end of the string
    RGBLINK will no longer report errors stemming from other errors
    RGBASM is now able to write more jrs without relying on RGBLINK, leading to smaller .o files and faster linking
    INCBIN should produce a slightly more useful error message
    A bunch of quality-of-life improvements for downstream packagers, especially using CMake
    Assertions have been removed from release builds, improving performance slightly
    charmaps now allocate memory as nodes are allocated, greatly reducing their size (by a factor of ~8)
    Documentation now mentions that SHIFT updates _NARG

Fixes:

    Two 6+ year-old crashing bugs have been fixed. They were thankfully rare, but should no longer be a problem now.
    LOAD blocks could produce incorrect output when at the beginning or end of a section
    __FILE__ caused syntax errors if the file name contained a quote
    jr in certain circumstances could crash RGBLINK
    Fixed inconsistent version numbering between the Makefile and the CMakeLists
    Documentation failed to mention SECTION FRAGMENT
    Documentation incorrectly listed bit 7 of symbol type as being the unionized section flag, and failed to mention the section fragment flag
    Documentation erroneously used to claim that symbol names could begin with a digit
    Error out when using align outside of a SECTION, or when using shift outside of a macro... instead of crashing
    Fixed a potential RGBASM crash with very large expressions
    Fixed overwriting a builtin symbol succeeding after insisting enough
    Fixed a crash when subtracting two invalid labels
    Fixed using _NARG outside of a macro crashing RGBASM


(nia)
diff -r1.8 -r1.9 pkgsrc/devel/rgbds/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/rgbds/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/devel/rgbds/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/rgbds/Makefile 2020/08/08 19:17:45 1.8
+++ pkgsrc/devel/rgbds/Makefile 2020/12/18 23:19:16 1.9
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# $NetBSD: Makefile,v 1.8 2020/08/08 19:17:45 nia Exp $ 1# $NetBSD: Makefile,v 1.9 2020/12/18 23:19:16 nia Exp $
2 2
3DISTNAME= rgbds-0.4.1 3DISTNAME= rgbds-0.4.2
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=rednex/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=gbdev/}
6GITHUB_RELEASE= v${PKGVERSION_NOREV} 6GITHUB_RELEASE= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://rednex.github.io/rgbds/ 9HOMEPAGE= https://rgbds.gbdev.io/
10COMMENT= Assembler/linker package for the Game Boy and Game Boy Color 10COMMENT= Assembler/linker package for the Game Boy and Game Boy Color
11LICENSE= mit 11LICENSE= mit
12 12
13WRKSRC= ${WRKDIR}/rgbds 13WRKSRC= ${WRKDIR}/rgbds
14USE_TOOLS+= gmake pkg-config lex bison 14USE_TOOLS+= gmake pkg-config lex bison
15 15
16MAKE_FLAGS+= Q= # Be noisy. 16MAKE_FLAGS+= Q= # Be noisy.
17MAKE_FLAGS+= CFLAGS=${CFLAGS:Q} 17MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
18MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} 18MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
19MAKE_FLAGS+= PREFIX=${PREFIX} 19MAKE_FLAGS+= PREFIX=${PREFIX}
20MAKE_FLAGS+= YACC=${YACC} 20MAKE_FLAGS+= YACC=${YACC}
21MAKE_FLAGS+= LEX=${LEX} 21MAKE_FLAGS+= LEX=${LEX}
22MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} 22MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}

cvs diff -r1.5 -r1.6 pkgsrc/devel/rgbds/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/rgbds/distinfo 2020/08/08 19:17:45 1.5
+++ pkgsrc/devel/rgbds/distinfo 2020/12/18 23:19:16 1.6
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.5 2020/08/08 19:17:45 nia Exp $ 1$NetBSD: distinfo,v 1.6 2020/12/18 23:19:16 nia Exp $
2 2
3SHA1 (rgbds-0.4.1.tar.gz) = 2d5a844a0c2426b925f47177013bb4afb07f68b0 3SHA1 (rgbds-0.4.2.tar.gz) = 66d714bdb792ee421237885cc33d5209635ecdcc
4RMD160 (rgbds-0.4.1.tar.gz) = d6980e57a890ebda71f0d1149242c6b10dcec85e 4RMD160 (rgbds-0.4.2.tar.gz) = cbcec8d34e7ad69f83e5ea72265a89d07ad76420
5SHA512 (rgbds-0.4.1.tar.gz) = 5a61ba726cd10cbde9e928ccaa5ecc7afebefd576f1e05eead96cf0d5af8371691bc036cd0405f336c89f33affdf7f71118d2890be57612be8a62a31b424b3de 5SHA512 (rgbds-0.4.2.tar.gz) = aae71417dd24fbd06f706dc35c9d33c9e031f2905c95c15af07c71492e54c6a5d0530cc6ab1fda415a35c258f2c225406fc3cdad130e40e084415e04b1aeb103
6Size (rgbds-0.4.1.tar.gz) = 232291 bytes 6Size (rgbds-0.4.2.tar.gz) = 208023 bytes
7SHA1 (patch-Makefile) = 2459ff1d685893e886a673ebc306bfa9e8f807ae 7SHA1 (patch-Makefile) = 2459ff1d685893e886a673ebc306bfa9e8f807ae