pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pcre2 pcre2: updated to 10.42
details: https://anonhg.NetBSD.org/pkgsrc/rev/ebb441cc3962
branches: trunk
changeset: 389947:ebb441cc3962
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 13 07:21:49 2022 +0000
description:
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),
diffstat:
devel/pcre2/Makefile | 5 ++---
devel/pcre2/distinfo | 9 ++++-----
devel/pcre2/patches/patch-src_pcre2posix.h | 17 -----------------
3 files changed, 6 insertions(+), 25 deletions(-)
diffs (48 lines):
diff -r e8b912dce3bd -r ebb441cc3962 devel/pcre2/Makefile
--- a/devel/pcre2/Makefile Tue Dec 13 07:15:36 2022 +0000
+++ b/devel/pcre2/Makefile Tue Dec 13 07:21:49 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2022/12/08 10:30:48 adam Exp $
+# $NetBSD: Makefile,v 1.27 2022/12/13 07:21:49 adam Exp $
-DISTNAME= pcre2-10.41
-PKGREVISION= 1
+DISTNAME= pcre2-10.42
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=PhilipHazel/}
GITHUB_RELEASE= ${DISTNAME}
diff -r e8b912dce3bd -r ebb441cc3962 devel/pcre2/distinfo
--- a/devel/pcre2/distinfo Tue Dec 13 07:15:36 2022 +0000
+++ b/devel/pcre2/distinfo Tue Dec 13 07:21:49 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.23 2022/12/08 10:30:48 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/12/13 07:21:49 adam Exp $
-BLAKE2s (pcre2-10.41.tar.gz) = 09470e7332ed4501041b2012e7cc20eff0fb15dd76267e4792f89eb2f1d2905f
-SHA512 (pcre2-10.41.tar.gz) = 94f962901c2929eafb9d540f3b8cd64feba95017bc29bd369b29231c50df1ade07b3c0509d031e4fc5c9e46cd64499dde6568f5325de805877f7391fa4621227
-Size (pcre2-10.41.tar.gz) = 2393262 bytes
-SHA1 (patch-src_pcre2posix.h) = c5f45c6ba75fe03ceb4f5c25caa36364317ce88b
+BLAKE2s (pcre2-10.42.tar.gz) = ef78b75ed64b069b5536ca23feb73b576555762d3b8c4e3365a09ff1f98b43de
+SHA512 (pcre2-10.42.tar.gz) = a3db6c5c620775838819be616652e73ce00f5ef5c1f49f559ff3efb51a119d02f01254c5901c1f7d0c47c0ddfcf4313e38d6ca32c35381b8f87f36896d10e6f7
+Size (pcre2-10.42.tar.gz) = 2397194 bytes
diff -r e8b912dce3bd -r ebb441cc3962 devel/pcre2/patches/patch-src_pcre2posix.h
--- a/devel/pcre2/patches/patch-src_pcre2posix.h Tue Dec 13 07:15:36 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_pcre2posix.h,v 1.1 2022/12/08 10:30:48 adam Exp $
-
-Fix for https://github.com/PCRE2Project/pcre2/issues/173
-
---- src/pcre2posix.h.orig 2022-12-08 10:20:30.000000000 +0000
-+++ src/pcre2posix.h
-@@ -144,6 +144,10 @@ regex functions. It's done this way to e
- the PCRE2 library and not by accident from elsewhere (regex_t differs in size
- elsewhere). */
-
-+#ifndef PCRE2_CALL_CONVENTION
-+#define PCRE2_CALL_CONVENTION
-+#endif
-+
- PCRE2POSIX_EXP_DECL int PCRE2_CALL_CONVENTION pcre2_regcomp(regex_t *, const char *, int);
- PCRE2POSIX_EXP_DECL int PCRE2_CALL_CONVENTION pcre2_regexec(const regex_t *, const char *, size_t,
- regmatch_t *, int);
Home |
Main Index |
Thread Index |
Old Index