pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pcre2 pcre2: update to 10.36.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b0fb2d0510f
branches:  trunk
changeset: 443044:7b0fb2d0510f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 06 10:37:03 2020 +0000

description:
pcre2: update to 10.36.

Version 10.36 04-December-2020
------------------------------

Again, mainly bug fixes and tidies. The only enhancements are the addition of
GNU grep's -m (aka --max-count) option to pcre2grep, and also unifying the
handling of substitution strings for both -O and callouts in pcre2grep, with
the addition of $x{...} and $o{...} to allow for characters whose code points
are greater than 255 in Unicode mode.

NOTE: there is an outstanding issue with JIT support for MacOS on arm64
hardware. For details, please see Bugzilla issue #2618.

diffstat:

 devel/pcre2/Makefile                                         |   5 +-
 devel/pcre2/distinfo                                         |  11 +-
 devel/pcre2/patches/patch-src_sljit_sljitProtExecAllocator.c |  43 ------------
 3 files changed, 7 insertions(+), 52 deletions(-)

diffs (76 lines):

diff -r 4fa77f788c45 -r 7b0fb2d0510f devel/pcre2/Makefile
--- a/devel/pcre2/Makefile      Sun Dec 06 10:33:53 2020 +0000
+++ b/devel/pcre2/Makefile      Sun Dec 06 10:37:03 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2020/05/28 07:53:05 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2020/12/06 10:37:03 wiz Exp $
 
-DISTNAME=      pcre2-10.35
-PKGREVISION=   1
+DISTNAME=      pcre2-10.36
 CATEGORIES=    devel
 MASTER_SITES=  https://ftp.pcre.org/pub/pcre/
 EXTRACT_SUFX=  .tar.bz2
diff -r 4fa77f788c45 -r 7b0fb2d0510f devel/pcre2/distinfo
--- a/devel/pcre2/distinfo      Sun Dec 06 10:33:53 2020 +0000
+++ b/devel/pcre2/distinfo      Sun Dec 06 10:37:03 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.14 2020/05/28 07:53:05 wiz Exp $
+$NetBSD: distinfo,v 1.15 2020/12/06 10:37:03 wiz Exp $
 
-SHA1 (pcre2-10.35.tar.bz2) = 2e5ee2dd397fa8c3ce9aed1a986e51d66a88bdb0
-RMD160 (pcre2-10.35.tar.bz2) = fdfdf74eec41107c77eecc071eb153efabd59605
-SHA512 (pcre2-10.35.tar.bz2) = ecfb8d48e219daff02874783b7b436fe7d70d8471e44eb66e1e29abb7b0aa67547e6b5fba7058b074ac90eef265ece7d12728f80afdda45b6b8124435f4561fd
-Size (pcre2-10.35.tar.bz2) = 1725214 bytes
-SHA1 (patch-src_sljit_sljitProtExecAllocator.c) = 306c7c6c1dfa8fb696ae78eea3b3a803b040d885
+SHA1 (pcre2-10.36.tar.bz2) = 65958cfc799c1474a272938f5690dff5f10db216
+RMD160 (pcre2-10.36.tar.bz2) = bfef32337552edc06ad66d18ecde40ad4dea998a
+SHA512 (pcre2-10.36.tar.bz2) = fc2a920562c80c3d31cedd94028fab55314ae0fb168cac7178f286c344a11fc514939edc3b83b8e0b57c872db4e595fd5530fd1d4b8c779be629553e9ec965a3
+Size (pcre2-10.36.tar.bz2) = 1722310 bytes
diff -r 4fa77f788c45 -r 7b0fb2d0510f devel/pcre2/patches/patch-src_sljit_sljitProtExecAllocator.c
--- a/devel/pcre2/patches/patch-src_sljit_sljitProtExecAllocator.c      Sun Dec 06 10:33:53 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-src_sljit_sljitProtExecAllocator.c,v 1.4 2020/05/28 07:53:05 wiz Exp $
-
-cleanup alloc_chunk() in sljitProtExec for NetBSD
-https://github.com/zherczeg/sljit/pull/40/commits
-
---- src/sljit/sljitProtExecAllocator.c.orig    2020-04-14 15:20:34.000000000 +0000
-+++ src/sljit/sljitProtExecAllocator.c
-@@ -220,28 +220,26 @@ static SLJIT_INLINE struct chunk_header*
- static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size)
- {
-       struct chunk_header *retval;
--      void *maprx;
- 
-       retval = (struct chunk_header *)mmap(NULL, size,
--                      PROT_MPROTECT(PROT_EXEC|PROT_WRITE|PROT_READ),
--                      MAP_ANON, -1, 0);
-+                      PROT_READ | PROT_WRITE | PROT_MPROTECT(PROT_EXEC),
-+                      MAP_ANON | MAP_SHARED, -1, 0);
- 
-       if (retval == MAP_FAILED)
-               return NULL;
- 
--      maprx = mremap(retval, size, NULL, size, MAP_REMAPDUP);
--      if (maprx == MAP_FAILED) {
-+      retval->executable = mremap(retval, size, NULL, size, MAP_REMAPDUP);
-+      if (retval->executable == MAP_FAILED) {
-               munmap((void *)retval, size);
-               return NULL;
-       }
- 
--      if (mprotect(retval, size, PROT_READ | PROT_WRITE) == -1 ||
--              mprotect(maprx, size, PROT_READ | PROT_EXEC) == -1) {
--              munmap(maprx, size);
-+      if (mprotect(retval->executable, size, PROT_READ | PROT_EXEC) == -1) {
-+              munmap(retval->executable, size);
-               munmap((void *)retval, size);
-               return NULL;
-       }
--      retval->executable = maprx;
-+
-       return retval;
- }
- #endif /* NetBSD >= 8 */



Home | Main Index | Thread Index | Old Index