devel/pcre2: Add/rm forgotten patches

This commit is contained in:
Kirill Ponomarev 2025-02-06 10:40:08 +01:00
parent 37eff36b8b
commit 46124cf7ab
3 changed files with 11 additions and 22 deletions

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__)
/*