diff options
author | EWouters <6179932+EWouters@users.noreply.github.com> | 2022-06-03 20:14:12 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-08 11:40:31 +0100 |
commit | bb98991ff800890a6947826ead7b3364407a58a0 (patch) | |
tree | 4b63aba3e7e6f4d8378678260325a9ade7c54262 /Ports/pcre2/patches | |
parent | a25ab52ee754ff724da8aa0ba92386ee878a63ad (diff) | |
download | serenity-bb98991ff800890a6947826ead7b3364407a58a0.zip |
Ports/pcre2: Update pcre2 to version 10.40
Diffstat (limited to 'Ports/pcre2/patches')
-rw-r--r-- | Ports/pcre2/patches/0001-Disable-pcre2test-s-S-flag-on-serenity.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ports/pcre2/patches/0001-Disable-pcre2test-s-S-flag-on-serenity.patch b/Ports/pcre2/patches/0001-Disable-pcre2test-s-S-flag-on-serenity.patch index 6dc9152bcd..60bc751b34 100644 --- a/Ports/pcre2/patches/0001-Disable-pcre2test-s-S-flag-on-serenity.patch +++ b/Ports/pcre2/patches/0001-Disable-pcre2test-s-S-flag-on-serenity.patch @@ -8,15 +8,15 @@ Subject: [PATCH] Disable pcre2test's `-S` flag on serenity 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcre2test.c b/src/pcre2test.c -index 84987d7..35a7a5a 100644 +index ea52a20..e9454c4 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c -@@ -8689,7 +8689,7 @@ while (argc > 1 && argv[op][0] == '-' && argv[op][1] != 0) +@@ -8917,7 +8917,7 @@ while (argc > 1 && argv[op][0] == '-' && argv[op][1] != 0) 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__) +-#if defined(_WIN32) || defined(WIN32) || defined(__HAIKU__) || defined(NATIVE_ZOS) || defined(__VMS) ++#if defined(_WIN32) || defined(WIN32) || defined(__HAIKU__) || defined(NATIVE_ZOS) || defined(__VMS) || defined(__serenity__) fprintf(stderr, "pcre2test: -S is not supported on this OS\n"); exit(1); #else |