1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +00:00

Ports: Add flex and pcre2 ports

This commit is contained in:
Brian Callahan 2020-01-23 23:43:31 -05:00 committed by Andreas Kling
parent ca413a5b50
commit b8b2b30102
11 changed files with 134 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- pcre2-10.34/src/pcre2test.c.orig Sun Jan 19 18:24:43 2020
+++ pcre2-10.34/src/pcre2test.c Sun Jan 19 18:24:59 2020
@@ -8604,7 +8604,7 @@
else if (strcmp(arg, "-S") == 0 && argc > 2 &&
((uli = strtoul(argv[op+1], &endptr, 10)), *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__)
fprintf(stderr, "pcre2test: -S is not supported on this OS\n");
exit(1);
#else