diff options
author | adam <adam@pkgsrc.org> | 2022-12-08 10:30:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-12-08 10:30:48 +0000 |
commit | 95984ffa912c7fafa30017ffd37c82158887b974 (patch) | |
tree | ec81bec2b0b9da1038c0849fe3dd2fb2b15773e2 /devel | |
parent | 00905daa1dac44bfa7a16753c509128ce20b8442 (diff) | |
download | pkgsrc-95984ffa912c7fafa30017ffd37c82158887b974.tar.gz |
pcre2: fix for https://github.com/PCRE2Project/pcre2/issues/173
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pcre2/Makefile | 3 | ||||
-rw-r--r-- | devel/pcre2/distinfo | 3 | ||||
-rw-r--r-- | devel/pcre2/patches/patch-src_pcre2posix.h | 17 |
3 files changed, 21 insertions, 2 deletions
diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile index 302d2482c5d..cf65dfb7072 100644 --- a/devel/pcre2/Makefile +++ b/devel/pcre2/Makefile @@ -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 --git a/devel/pcre2/distinfo b/devel/pcre2/distinfo index 1753b646769..d9f0ff91618 100644 --- a/devel/pcre2/distinfo +++ b/devel/pcre2/distinfo @@ -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 --git a/devel/pcre2/patches/patch-src_pcre2posix.h b/devel/pcre2/patches/patch-src_pcre2posix.h new file mode 100644 index 00000000000..e83198d11a5 --- /dev/null +++ b/devel/pcre2/patches/patch-src_pcre2posix.h @@ -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); |