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: adam
Date: Mon Feb 17 13:34:43 UTC 2025
Modified Files:
pkgsrc/devel/re2c: Makefile distinfo
Log Message:
re2c: updated to 4.1
4.1 (2025-02-16)
Added new syntax for actions
Added entry, pre-rule and post-rule actions
!entry action binds code at the start of the current finite state machine
!pre_rule action prepernds code to semantic actions of all rules in the current block or condiiton.
!post_rule action appernds code to semantic actions of all rules in the current block or condiiton.
Added syntax file option special_escapes that describes allowed escape sequences
Fixed bugs:
(allow using lookahead operator with captures).
(integer overflow caused a very long loop when generating tag names).
(segfault on !use directive in a block with conditions).
(regression with bit-vector optimization).
(failure to recognize escaped double quotes in character literals).
OCaml backend now uses unsafe_get instead of get as the default YYPEEK implementation.
Zig backend now uses const for yych declaration in --recursive-functions mode.
Benchmarks (C/C++):
Reimplemented benchmarks using google-benchmark library.
Added simple variants without buffer refill.
Removed Kleenex benchmarks.
Removed deprecated TDFA(0) and StaDFA algorithms.
Updated benchmark results.
Build system:
Migrated to Bazel 8 using bzlmod.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/re2c/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/re2c/distinfo
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.33 pkgsrc/devel/re2c/Makefile:1.34
--- pkgsrc/devel/re2c/Makefile:1.33 Tue Dec 31 17:15:30 2024
+++ pkgsrc/devel/re2c/Makefile Mon Feb 17 13:34:42 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2024/12/31 17:15:30 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2025/02/17 13:34:42 adam Exp $
-DISTNAME= re2c-4.0.2
-PKGREVISION= 1
+DISTNAME= re2c-4.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -12,27 +11,24 @@ HOMEPAGE= https://re2c.org/
COMMENT= Deterministic Finite State Automaton generator
LICENSE= public-domain
+USE_CXX_FEATURES= c++11
USE_LANGUAGES= c c++
USE_TOOLS+= bison
# needs 'make install'
TEST_TARGET= check
PYTHON_FOR_BUILD_ONLY= tool
-.include "../../mk/bsd.fast.prefs.mk"
+.include "../../mk/bsd.prefs.mk"
-.if ${PKGMANDIR} != "share/man"
SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man/man1,${PKGMANDIR}/man1,"
SUBST_FILES.man+= CMakeLists.txt
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page path.
-.endif
-
-.include "../../mk/bsd.prefs.mk"
# can't use ninja, since ninja tool-depends on this
CMAKE_GENERATOR= make
-.include "../../lang/python/tool.mk"
.include "../../devel/cmake/build.mk"
+.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/re2c/distinfo
diff -u pkgsrc/devel/re2c/distinfo:1.26 pkgsrc/devel/re2c/distinfo:1.27
--- pkgsrc/devel/re2c/distinfo:1.26 Thu Dec 26 11:47:46 2024
+++ pkgsrc/devel/re2c/distinfo Mon Feb 17 13:34:43 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2024/12/26 11:47:46 wiz Exp $
+$NetBSD: distinfo,v 1.27 2025/02/17 13:34:43 adam Exp $
-BLAKE2s (re2c-4.0.2.tar.xz) = 9f06ccf87213a0750ee6704c96c65ad445a57b1d67c26e8af78d751d09a5784c
-SHA512 (re2c-4.0.2.tar.xz) = e7342b1c41ea709cf348ac705f5c82ace1e43509212edae9f1ba458036842d68807cd6c07c175d10ed7b386dc9cd5cc7a4f2e104e1cbaa4c7a3a9ef82bc5f328
-Size (re2c-4.0.2.tar.xz) = 1802780 bytes
+BLAKE2s (re2c-4.1.tar.xz) = 2d2d681e63e49c853dc8fe86cf0f00c33b52a50eb410547e8ed525c58208b1cb
+SHA512 (re2c-4.1.tar.xz) = 161cb10d2fe3bf0e1dbb9496644b77bdf0b4869458e1c8340a7593447a026f067facc4c752c7cbc4007107a0bf33dc6b6aa598bbfd4e1dd6edd4c9f9ad4a5832
+Size (re2c-4.1.tar.xz) = 1812048 bytes
Home |
Main Index |
Thread Index |
Old Index