Subject: CVS commit: pkgsrc/devel/pcre2
From: Adam Ciarcinski
Date: 2022-12-13 08:21:49
Message id: 20221213072149.E23D5FA90@cvs.NetBSD.org

Log Message:
pcre2: updated to 10.42

Version 10.42 11-December-2022
------------------------------

1. Change 19 of 10.41 wasn't quite right; it put the definition of a default,
empty value for PCRE2_CALL_CONVENTION in src/pcre2posix.c instead of
src/pcre2posix.h, which meant that programs that included pcre2posix.h but not
pcre2.h failed to compile.

2. To catch similar issues to the above in future, a new small test program
that includes pcre2posix.h but not pcre2.h has been added to the test suite.

3. When the -S option of pcre2test was used to set a stack size greater than
the allowed maximum, the error message displayed the hard limit incorrectly.
This was pointed out on GitHub pull request 171, but the suggested patch
didn't cope with all cases. Some further modification was required.

4. Supplying an ovector count of more than 65535 to pcre2_match_data_create()
caused a crash because the field in the match data block is only 16 bits. A
maximum of 65535 is now silently applied.

5. Merged @carenas patch 175 which fixes 86 - segfault on aarch64 (ARM),

Files:
RevisionActionfile
1.27modifypkgsrc/devel/pcre2/Makefile
1.24modifypkgsrc/devel/pcre2/distinfo
1.1removepkgsrc/devel/pcre2/patches/patch-src_pcre2posix.h