mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Ports: Add port for pcre
This commit is contained in:
parent
f5ccecacc5
commit
97471030e7
4 changed files with 35 additions and 0 deletions
12
Ports/pcre/patches/fix-rlimit.patch
Normal file
12
Ports/pcre/patches/fix-rlimit.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur pcre-8.44/pcretest.c pcre-8.44.serenity/pcretest.c
|
||||
--- pcre-8.44/pcretest.c 2020-02-11 18:28:46.000000000 +0100
|
||||
+++ pcre-8.44.serenity/pcretest.c 2021-04-12 01:23:25.182873375 +0200
|
||||
@@ -3168,7 +3168,7 @@
|
||||
((stack_size = get_value((pcre_uint8 *)argv[op+1], &endptr)),
|
||||
*endptr == 0))
|
||||
{
|
||||
-#if defined(_WIN32) || defined(WIN32) || defined(__minix) || defined(NATIVE_ZOS) || defined(__VMS)
|
||||
+#if defined(_WIN32) || defined(WIN32) || defined(__minix) || defined(NATIVE_ZOS) || defined(__VMS) || defined(__serenity__)
|
||||
printf("PCRE: -S not supported on this OS\n");
|
||||
exit(1);
|
||||
#else
|
Loading…
Add table
Add a link
Reference in a new issue