devel/pcre2: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2025-02-06 12:41:18 +01:00
parent 318551d4bd
commit 0ddc3856e7
6 changed files with 23 additions and 31 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= pcre2
DISTVERSION= 10.43
DISTVERSION= 10.45
CATEGORIES= devel
MASTER_SITES= https://github.com/PCRE2Project/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
@ -8,7 +8,7 @@ COMMENT= Perl Compatible Regular Expressions library, version 2
WWW= https://www.pcre.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
LICENSE_FILE= ${WRKSRC}/LICENCE.md
USES= autoreconf cpe libtool pkgconfig tar:bz2
CPE_VENDOR= pcre

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1708425567
SHA256 (pcre2-10.43.tar.bz2) = e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb
SIZE (pcre2-10.43.tar.bz2) = 1905255
TIMESTAMP = 1738825989
SHA256 (pcre2-10.45.tar.bz2) = 21547f3516120c75597e5b30a992e27a592a31950b5140e7b8bfde3f192033c4
SIZE (pcre2-10.45.tar.bz2) = 2072403

View file

@ -1,11 +0,0 @@
--- Makefile.am.orig 2015-08-25 16:56:39 UTC
+++ Makefile.am
@@ -646,7 +646,7 @@ EXTRA_DIST += src/pcre2demo.c
# We have .pc files for pkg-config users.
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(libdir)data/pkgconfig
pkgconfig_DATA =
if WITH_PCRE2_8

View file

@ -0,0 +1,11 @@
--- deps/sljit/sljit_src/sljitConfigInternal.h.orig 2025-02-06 07:15:34 UTC
+++ deps/sljit/sljit_src/sljitConfigInternal.h
@@ -255,7 +255,7 @@ extern "C" {
* system provided method that should be defined below is used
* instead.
*/
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
#if __has_builtin(__builtin___clear_cache) && !defined(__clang__)
/*

View file

@ -1,11 +0,0 @@
--- src/sljit/sljitConfigInternal.h.orig 2022-05-02 15:22:09 UTC
+++ src/sljit/sljitConfigInternal.h
@@ -333,7 +333,7 @@ extern "C" {
* beware APPLE is known to have removed the code in iOS so
* it will need to be excempted or result in broken builds
*/
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
#if __has_builtin(__builtin___clear_cache) && !defined(__clang__)
/*

View file

@ -6,19 +6,19 @@ include/pcre2posix.h
lib/libpcre2-16.a
lib/libpcre2-16.so
lib/libpcre2-16.so.0
lib/libpcre2-16.so.0.12.0
lib/libpcre2-16.so.0.14.0
lib/libpcre2-32.a
lib/libpcre2-32.so
lib/libpcre2-32.so.0
lib/libpcre2-32.so.0.12.0
lib/libpcre2-32.so.0.14.0
lib/libpcre2-8.a
lib/libpcre2-8.so
lib/libpcre2-8.so.0
lib/libpcre2-8.so.0.12.0
lib/libpcre2-8.so.0.14.0
lib/libpcre2-posix.a
lib/libpcre2-posix.so
lib/libpcre2-posix.so.3
lib/libpcre2-posix.so.3.0.5
lib/libpcre2-posix.so.3.0.6
libdata/pkgconfig/libpcre2-16.pc
libdata/pkgconfig/libpcre2-32.pc
libdata/pkgconfig/libpcre2-8.pc
@ -82,14 +82,17 @@ share/man/man3/pcre2_set_glob_escape.3.gz
share/man/man3/pcre2_set_glob_separator.3.gz
share/man/man3/pcre2_set_heap_limit.3.gz
share/man/man3/pcre2_set_match_limit.3.gz
share/man/man3/pcre2_set_max_pattern_compiled_length.3.gz
share/man/man3/pcre2_set_max_pattern_length.3.gz
share/man/man3/pcre2_set_max_varlookbehind.3.gz
share/man/man3/pcre2_set_newline.3.gz
share/man/man3/pcre2_set_offset_limit.3.gz
share/man/man3/pcre2_set_optimize.3.gz
share/man/man3/pcre2_set_parens_nest_limit.3.gz
share/man/man3/pcre2_set_recursion_limit.3.gz
share/man/man3/pcre2_set_recursion_memory_management.3.gz
share/man/man3/pcre2_set_substitute_callout.3.gz
share/man/man3/pcre2_set_substitute_case_callout.3.gz
share/man/man3/pcre2_substitute.3.gz
share/man/man3/pcre2_substring_copy_byname.3.gz
share/man/man3/pcre2_substring_copy_bynumber.3.gz