summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-03-13 16:50:19 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-13 22:58:21 +0100
commit47d0d9fd65f734c1fda4f3103a65e3e5888a0b58 (patch)
tree97cc9d34f9f31ce5a45ae20aee3bdf88087f4216
parent47ec3dbf45218e1887895031b08f6ab1bc719a1c (diff)
downloadserenity-47d0d9fd65f734c1fda4f3103a65e3e5888a0b58.zip
Ports: Update curl to 7.82.0
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/curl/package.sh4
-rw-r--r--Ports/curl/patches/include-sys-select-h.patch8
3 files changed, 7 insertions, 7 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 97c93a0fd6..baa48401be 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -25,7 +25,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`cmake`](cmake/) | CMake | 3.22.1 | https://cmake.org/ |
| [`cmatrix`](cmatrix/) | cmatrix | 3112b12 | https://github.com/abishekvashok/cmatrix |
| [`composer`](composer/) | Composer | 2.1.3 | https://getcomposer.org/ |
-| [`curl`](curl/) | curl | 7.81.0 | https://curl.se/ |
+| [`curl`](curl/) | curl | 7.82.0 | https://curl.se/ |
| [`dash`](dash/) | DASH | 0.5.10.2 | http://gondor.apana.org.au/~herbert/dash |
| [`dialog`](dialog/) | Dialog | 1.3-20210324 | https://invisible-island.net/dialog/ |
| [`diffutils`](diffutils/) | GNU Diffutils | 3.7 | https://www.gnu.org/software/diffutils/ |
diff --git a/Ports/curl/package.sh b/Ports/curl/package.sh
index 1ea8f2d75e..e81d8790ba 100755
--- a/Ports/curl/package.sh
+++ b/Ports/curl/package.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=curl
-version=7.81.0
+version=7.82.0
useconfigure=true
-files="https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 1e7a38d7018ec060f1f16df839854f0889e94e122c4cfa5d3a37c2dc56f1e258"
+files="https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 46d9a0400a33408fd992770b04a44a7434b3036f2e8089ac28b57573d59d371f"
auth_type=sha256
depends=("ca-certificates" "openssl" "zlib" "zstd")
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
diff --git a/Ports/curl/patches/include-sys-select-h.patch b/Ports/curl/patches/include-sys-select-h.patch
index e48335145d..e9bb8819c0 100644
--- a/Ports/curl/patches/include-sys-select-h.patch
+++ b/Ports/curl/patches/include-sys-select-h.patch
@@ -1,5 +1,5 @@
---- curl-7.81.0/include/curl/curl.h.orig 2022-01-08 01:48:40.381648337 +0000
-+++ curl-7.81.0/include/curl/curl.h 2022-01-08 01:48:54.585501759 +0000
+--- curl-7.82.0/include/curl/curl.h.orig 2022-03-13 16:35:49.138578404 +0000
++++ curl-7.82.0/include/curl/curl.h 2022-03-13 16:36:19.966328690 +0000
@@ -71,7 +71,7 @@
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
@@ -7,5 +7,5 @@
- defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \
+ defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || defined(__serenity__) || \
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \
- (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) || \
- defined(__VXWORKS__)
+ (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000))
+ #include <sys/select.h>