Thu Apr 1 16:46:39 2021 UTC ()
re2c: update to 2.1.1.
2.1.1 (2021-03-27)
~~~~~~~~~~~~~~~~~~
- Added missing CMakeLists.txt to release tarballs
(`#346 <https://github.com/skvadrik/re2c/issues/346>`_).
2.1 (2021-03-26)
~~~~~~~~~~~~~~~~
- Added GitHub Actions CI for Linux, macOS and Windows and fixed numerous build
issues on those platforms (thanks to
`Serghei Iakovlev <https://github.com/sergeyklay>`_).
- Added benchmarks for submatch extraction in lexer generators (ragel vs.
kleenex vs. re2c with TDFA(0), TDFA(1) or sta-DFA algorithms).
+ New Autotools (configure) options: ``--enable-benchmarks``,
``--enable-benchmarks-regenerate``
+ New CMake options: ``-DRE2C_BUILD_BENCHMARKS``, ``-DRE2C_REGEN_BENCHMARKS``
+ New `json2pgfplot.py
<https://github.com/skvadrik/re2c/blob/master/benchmarks/json2pgfplot.py>`_
script that converts benchmark results in JSON to a PDF with bar charts
- Added option ``--depfile <filename>`` to generate build dependency files
(allows to track ``/*!include:re2c*/`` dependencies in the build system).
- Added option ``--fixed-tags <none | all | toplevel>`` and improved fixed-tag
optimization to work with nested tags.
- Added lzip to the distribution tarballs.
- Added registerless-TDFA algorithm in the experimental libre2c library.
- Explicitly disallowed invalid configuration when ``-f``, ``--storable-state``
option is used, but ``YYFILL`` is disabled
(`#306 <https://github.com/skvadrik/re2c/issues/306>`_).
- Fixed bug in UTF-8 decode for 4-bytes rune
(`#307 <https://github.com/skvadrik/re2c/pull/307>`_, thanks to
`Satoshi Yasushima <https://github.com/s-yasu>`_).
- Fixed bugs in rare cases of the end-of-input rule ``$`` usage
(`277f0295 <https://github.com/skvadrik/re2c/commit/277f0295fc77a2dad3b9838e45f787319b54a25f>`_,
`68611a57 <https://github.com/skvadrik/re2c/commit/68611a57a9683c05801255b35ba6217b91391dd8>`_
and `a9d582f9 <https://github.com/skvadrik/re2c/commit/a9d582f9d2a6d123aa55f3b8b73076aae7cb5616>`_).
- Optimized ``--skeleton`` generation time.
- Renamed internal option ``--dfa`` to ``--nested-negative-tags``.
- Updated documentation for end of input handling and submatch extraction.
(wiz)
diff -r1.24 -r1.25 pkgsrc/devel/re2c/Makefile
diff -r1.19 -r1.20 pkgsrc/devel/re2c/distinfo
diff -r0 -r1.1 pkgsrc/devel/re2c/patches/patch-configure
--- pkgsrc/devel/re2c/Makefile 2020/09/20 08:32:30 1.24
+++ pkgsrc/devel/re2c/Makefile 2021/04/01 16:46:39 1.25
| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.24 2020/09/20 08:32:30 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.25 2021/04/01 16:46:39 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= re2c-2.0.3 | | 3 | DISTNAME= re2c-2.1.1 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} |
6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | | 6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://re2c.org/ | | 10 | HOMEPAGE= https://re2c.org/ |
11 | COMMENT= Deterministic Finite State Automaton generator | | 11 | COMMENT= Deterministic Finite State Automaton generator |
12 | LICENSE= public-domain | | 12 | LICENSE= public-domain |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
15 | USE_TOOLS+= bison gmake | | 15 | USE_TOOLS+= bison gmake |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
--- pkgsrc/devel/re2c/distinfo 2020/09/20 08:32:30 1.19
+++ pkgsrc/devel/re2c/distinfo 2021/04/01 16:46:39 1.20
| @@ -1,6 +1,7 @@ | | | @@ -1,6 +1,7 @@ |
1 | $NetBSD: distinfo,v 1.19 2020/09/20 08:32:30 wiz Exp $ | | 1 | $NetBSD: distinfo,v 1.20 2021/04/01 16:46:39 wiz Exp $ |
2 | | | 2 | |
3 | SHA1 (re2c-2.0.3.tar.xz) = e203d97ef0e7fe2eb9b673a42eb9a7135b0ae220 | | 3 | SHA1 (re2c-2.1.1.tar.xz) = 038a30357fc3631c357d34fc48c3171698567bf7 |
4 | RMD160 (re2c-2.0.3.tar.xz) = 587747ef5f73aeff4421ff281b87b3e269163fde | | 4 | RMD160 (re2c-2.1.1.tar.xz) = 91bd1148bf576c8767789be389650c0971520388 |
5 | SHA512 (re2c-2.0.3.tar.xz) = 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c | | 5 | SHA512 (re2c-2.1.1.tar.xz) = 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae |
6 | Size (re2c-2.0.3.tar.xz) = 1288996 bytes | | 6 | Size (re2c-2.1.1.tar.xz) = 1340740 bytes |
| | | 7 | SHA1 (patch-configure) = 1f05ad6879aadf47cdcee098ca6b09039a5e2332 |
$NetBSD: patch-configure,v 1.1 2021/04/01 16:46:39 wiz Exp $
Fix unportable test(1) operator.
--- configure.orig 2021-03-27 18:25:31.000000000 +0000
+++ configure
@@ -5336,7 +5336,7 @@ if test "${enable_benchmarks+set}" = set
enableval=$enable_benchmarks;
fi
- if test "x$enable_benchmarks" == "xyes"; then
+ if test "x$enable_benchmarks" = "xyes"; then
WITH_BENCHMARKS_TRUE=
WITH_BENCHMARKS_FALSE='#'
else
@@ -5383,7 +5383,7 @@ if test "${enable_benchmarks_regenerate+
enableval=$enable_benchmarks_regenerate;
fi
- if test "x$enable_benchmarks_regenerate" == "xyes"; then
+ if test "x$enable_benchmarks_regenerate" = "xyes"; then
REGEN_BENCHMARKS_TRUE=
REGEN_BENCHMARKS_FALSE='#'
else