pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pcre2 pcre2: fix for https://github.com/PCRE2Pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fd0c014429c
branches:  trunk
changeset: 389692:6fd0c014429c
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 08 10:30:48 2022 +0000

description:
pcre2: fix for https://github.com/PCRE2Project/pcre2/issues/173

diffstat:

 devel/pcre2/Makefile                       |   3 ++-
 devel/pcre2/distinfo                       |   3 ++-
 devel/pcre2/patches/patch-src_pcre2posix.h |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 441f76660a0c -r 6fd0c014429c devel/pcre2/Makefile
--- a/devel/pcre2/Makefile      Thu Dec 08 10:29:01 2022 +0000
+++ b/devel/pcre2/Makefile      Thu Dec 08 10:30:48 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2022/12/06 20:46:24 adam Exp $
+# $NetBSD: Makefile,v 1.26 2022/12/08 10:30:48 adam Exp $
 
 DISTNAME=      pcre2-10.41
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=PhilipHazel/}
 GITHUB_RELEASE=        ${DISTNAME}
diff -r 441f76660a0c -r 6fd0c014429c devel/pcre2/distinfo
--- a/devel/pcre2/distinfo      Thu Dec 08 10:29:01 2022 +0000
+++ b/devel/pcre2/distinfo      Thu Dec 08 10:30:48 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.22 2022/12/06 20:46:24 adam Exp $
+$NetBSD: distinfo,v 1.23 2022/12/08 10:30:48 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
diff -r 441f76660a0c -r 6fd0c014429c devel/pcre2/patches/patch-src_pcre2posix.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pcre2/patches/patch-src_pcre2posix.h        Thu Dec 08 10:30:48 2022 +0000
@@ -0,0 +1,17 @@
+$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