summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-11-06 02:03:53 +0100
committerIdan Horowitz <idan.horowitz@gmail.com>2021-11-06 12:40:19 +0200
commit85db9aac49a764f0f56a756c7e857fde2234d542 (patch)
tree6027c714a19320a57baf84efa7ad8db1f2f1c931
parentabf1585a3fe96393c1b9c8180bfb2d7a9721ac07 (diff)
downloadserenity-85db9aac49a764f0f56a756c7e857fde2234d542.zip
Ports: Update pcre to 8.45
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/pcre/package.sh6
-rw-r--r--Ports/pcre/patches/fix-autoconf.patch24
3 files changed, 16 insertions, 16 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 6b7599b02c..a318998b45 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -131,7 +131,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`oksh`](oksh/) | oksh | 6.8.1 | https://github.com/ibara/oksh |
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
| [`patch`](patch/) | patch (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
-| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.44 | 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/ |
| [`php`](php/) | PHP | 8.0.10 | https://www.php.net/ |
| [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf |
diff --git a/Ports/pcre/package.sh b/Ports/pcre/package.sh
index d4768c8874..dff43ddbaa 100755
--- a/Ports/pcre/package.sh
+++ b/Ports/pcre/package.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=pcre
-version=8.44
+version=8.45
useconfigure=true
-files="https://ftp.pcre.org/pub/pcre/pcre-${version}.tar.gz pcre-${version}.tar.gz
-https://ftp.pcre.org/pub/pcre/pcre-${version}.tar.gz.sig pcre-${version}.tar.gz.sig"
+files="https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz pcre-${version}.tar.gz
+https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz.sig pcre-${version}.tar.gz.sig"
auth_type="sig"
auth_import_key="45F68D54BBE23FB3039B46E59766E084FB0F43D8"
diff --git a/Ports/pcre/patches/fix-autoconf.patch b/Ports/pcre/patches/fix-autoconf.patch
index 328ed5d060..90d18778d7 100644
--- a/Ports/pcre/patches/fix-autoconf.patch
+++ b/Ports/pcre/patches/fix-autoconf.patch
@@ -1,12 +1,12 @@
-diff -Naur pcre-8.44/config.sub pcre-8.44.serenity/config.sub
---- pcre-8.44/config.sub 2020-02-12 18:17:31.000000000 +0100
-+++ pcre-8.44.serenity/config.sub 2021-04-12 01:21:59.467797075 +0200
-@@ -1390,7 +1390,7 @@
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
- | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
-- | -midnightbsd*)
-+ | -midnightbsd* | -serenity*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)
+diff -ur a/config.sub b/config.sub
+--- a/config.sub 2021-06-15 17:52:53.000000000 +0200
++++ b/config.sub 2021-11-06 02:02:32.208608392 +0100
+@@ -1690,7 +1690,7 @@
+ # Now accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST end in a * to match a version number.
+- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
++ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
+ | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
+ | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \