pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/re2c



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr  1 16:46:39 UTC 2021

Modified Files:
        pkgsrc/devel/re2c: Makefile distinfo
Added Files:
        pkgsrc/devel/re2c/patches: patch-configure

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/re2c/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/re2c/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/re2c/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/re2c/Makefile
diff -u pkgsrc/devel/re2c/Makefile:1.24 pkgsrc/devel/re2c/Makefile:1.25
--- pkgsrc/devel/re2c/Makefile:1.24     Sun Sep 20 08:32:30 2020
+++ pkgsrc/devel/re2c/Makefile  Thu Apr  1 16:46:39 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2020/09/20 08:32:30 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/04/01 16:46:39 wiz Exp $
 
-DISTNAME=      re2c-2.0.3
+DISTNAME=      re2c-2.1.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=skvadrik/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}

Index: pkgsrc/devel/re2c/distinfo
diff -u pkgsrc/devel/re2c/distinfo:1.19 pkgsrc/devel/re2c/distinfo:1.20
--- pkgsrc/devel/re2c/distinfo:1.19     Sun Sep 20 08:32:30 2020
+++ pkgsrc/devel/re2c/distinfo  Thu Apr  1 16:46:39 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.19 2020/09/20 08:32:30 wiz Exp $
+$NetBSD: distinfo,v 1.20 2021/04/01 16:46:39 wiz Exp $
 
-SHA1 (re2c-2.0.3.tar.xz) = e203d97ef0e7fe2eb9b673a42eb9a7135b0ae220
-RMD160 (re2c-2.0.3.tar.xz) = 587747ef5f73aeff4421ff281b87b3e269163fde
-SHA512 (re2c-2.0.3.tar.xz) = 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c
-Size (re2c-2.0.3.tar.xz) = 1288996 bytes
+SHA1 (re2c-2.1.1.tar.xz) = 038a30357fc3631c357d34fc48c3171698567bf7
+RMD160 (re2c-2.1.1.tar.xz) = 91bd1148bf576c8767789be389650c0971520388
+SHA512 (re2c-2.1.1.tar.xz) = 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae
+Size (re2c-2.1.1.tar.xz) = 1340740 bytes
+SHA1 (patch-configure) = 1f05ad6879aadf47cdcee098ca6b09039a5e2332

Added files:

Index: pkgsrc/devel/re2c/patches/patch-configure
diff -u /dev/null pkgsrc/devel/re2c/patches/patch-configure:1.1
--- /dev/null   Thu Apr  1 16:46:40 2021
+++ pkgsrc/devel/re2c/patches/patch-configure   Thu Apr  1 16:46:39 2021
@@ -0,0 +1,24 @@
+$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



Home | Main Index | Thread Index | Old Index