Jelajahi Sumber

Ports: Update curl to 7.82.0

Luke Wilde 3 tahun lalu
induk
melakukan
47d0d9fd65

+ 1 - 1
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/                                        |

+ 2 - 2
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")

+ 4 - 4
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>