pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/pcre2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Dec  8 10:30:48 UTC 2022

Modified Files:
        pkgsrc/devel/pcre2: Makefile distinfo
Added Files:
        pkgsrc/devel/pcre2/patches: patch-src_pcre2posix.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/pcre2/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/pcre2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/pcre2/patches/patch-src_pcre2posix.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pcre2/Makefile
diff -u pkgsrc/devel/pcre2/Makefile:1.25 pkgsrc/devel/pcre2/Makefile:1.26
--- pkgsrc/devel/pcre2/Makefile:1.25    Tue Dec  6 20:46:24 2022
+++ pkgsrc/devel/pcre2/Makefile Thu Dec  8 10:30:48 2022
@@ -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}

Index: pkgsrc/devel/pcre2/distinfo
diff -u pkgsrc/devel/pcre2/distinfo:1.22 pkgsrc/devel/pcre2/distinfo:1.23
--- pkgsrc/devel/pcre2/distinfo:1.22    Tue Dec  6 20:46:24 2022
+++ pkgsrc/devel/pcre2/distinfo Thu Dec  8 10:30:48 2022
@@ -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

Added files:

Index: pkgsrc/devel/pcre2/patches/patch-src_pcre2posix.h
diff -u /dev/null pkgsrc/devel/pcre2/patches/patch-src_pcre2posix.h:1.1
--- /dev/null   Thu Dec  8 10:30:48 2022
+++ pkgsrc/devel/pcre2/patches/patch-src_pcre2posix.h   Thu Dec  8 10:30:48 2022
@@ -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