diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-05-17 21:00:33 +0430 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-05-19 20:17:10 +0430 |
commit | b7975b33b356e175a68b3ef16781f24aadcc8422 (patch) | |
tree | 66f877e88b386a68ef97e9e34bb64ef17a9a128e | |
parent | ff7163e5b8fb78123ad9841431494d8d9c6b0232 (diff) | |
download | serenity-b7975b33b356e175a68b3ef16781f24aadcc8422.zip |
Ports: Update curl's patches to use git patches
-rw-r--r-- | Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch (renamed from Ports/curl/patches/include-sys-select-h.patch) | 19 | ||||
-rw-r--r-- | Ports/curl/patches/ReadMe.md | 8 |
2 files changed, 25 insertions, 2 deletions
diff --git a/Ports/curl/patches/include-sys-select-h.patch b/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch index e9bb8819c0..6e01d50279 100644 --- a/Ports/curl/patches/include-sys-select-h.patch +++ b/Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch @@ -1,5 +1,17 @@ ---- 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 +From f3a2d182fe9f6d569db5e6f28e3926ccdce84b1a Mon Sep 17 00:00:00 2001 +From: Luke Wilde <lukew@serenityos.org> +Date: Sun, 13 Mar 2022 16:50:19 +0000 +Subject: [PATCH] Teach curl.h about serenity's <sys/select.h> include + +Co-Authored-By: Andreas Kling <kling@serenityos.org> +--- + include/curl/curl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/curl/curl.h b/include/curl/curl.h +index 3a2c2ea..2b7c86b 100644 +--- a/include/curl/curl.h ++++ b/include/curl/curl.h @@ -71,7 +71,7 @@ #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \ defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \ @@ -9,3 +21,6 @@ (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \ (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) #include <sys/select.h> +-- +2.36.1 + diff --git a/Ports/curl/patches/ReadMe.md b/Ports/curl/patches/ReadMe.md new file mode 100644 index 0000000000..090ee8c37b --- /dev/null +++ b/Ports/curl/patches/ReadMe.md @@ -0,0 +1,8 @@ +# Patches for curl on SerenityOS + +## `0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch` + +Teach curl.h about serenity's <sys/select.h> include + + + |