mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Ports/pcre2: Update pcre2 to version 10.40
This commit is contained in:
parent
a25ab52ee7
commit
bb98991ff8
3 changed files with 7 additions and 7 deletions
|
@ -173,7 +173,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||||
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
|
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
|
||||||
| [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ |
|
| [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ |
|
||||||
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ |
|
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ |
|
||||||
| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.39 | https://www.pcre.org/ |
|
| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.40 | https://www.pcre.org/ |
|
||||||
| [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ |
|
| [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ |
|
||||||
| [`php`](php/) | PHP | 8.1.4 | https://www.php.net/ |
|
| [`php`](php/) | PHP | 8.1.4 | https://www.php.net/ |
|
||||||
| [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf |
|
| [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf |
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env -S bash ../.port_include.sh
|
#!/usr/bin/env -S bash ../.port_include.sh
|
||||||
port=pcre2
|
port='pcre2'
|
||||||
version=10.39
|
version='10.40'
|
||||||
useconfigure=true
|
useconfigure=true
|
||||||
files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz
|
files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz
|
||||||
https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz.sig pcre2-${version}.tar.gz.sig"
|
https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz.sig pcre2-${version}.tar.gz.sig"
|
||||||
|
|
|
@ -8,15 +8,15 @@ Subject: [PATCH] Disable pcre2test's `-S` flag on serenity
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/src/pcre2test.c b/src/pcre2test.c
|
diff --git a/src/pcre2test.c b/src/pcre2test.c
|
||||||
index 84987d7..35a7a5a 100644
|
index ea52a20..e9454c4 100644
|
||||||
--- a/src/pcre2test.c
|
--- a/src/pcre2test.c
|
||||||
+++ b/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 &&
|
else if (strcmp(arg, "-S") == 0 && argc > 2 &&
|
||||||
((uli = strtoul(argv[op+1], &endptr, 10)), *endptr == 0))
|
((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(__HAIKU__) || 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) || defined(__serenity__)
|
||||||
fprintf(stderr, "pcre2test: -S is not supported on this OS\n");
|
fprintf(stderr, "pcre2test: -S is not supported on this OS\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue