summaryrefslogtreecommitdiff
path: root/Ports/pcre
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 /Ports/pcre
parentabf1585a3fe96393c1b9c8180bfb2d7a9721ac07 (diff)
downloadserenity-85db9aac49a764f0f56a756c7e857fde2234d542.zip
Ports: Update pcre to 8.45
Diffstat (limited to 'Ports/pcre')
-rwxr-xr-xPorts/pcre/package.sh6
-rw-r--r--Ports/pcre/patches/fix-autoconf.patch24
2 files changed, 15 insertions, 15 deletions
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* \