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 similarity index 53% rename from Ports/curl/patches/include-sys-select-h.patch rename to Ports/curl/patches/0001-Teach-curl.h-about-serenity-s-sys-select.h-include.patch index e9bb8819c00..6e01d502798 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 +Date: Sun, 13 Mar 2022 16:50:19 +0000 +Subject: [PATCH] Teach curl.h about serenity's include + +Co-Authored-By: Andreas Kling +--- + 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 +-- +2.36.1 + diff --git a/Ports/curl/patches/ReadMe.md b/Ports/curl/patches/ReadMe.md new file mode 100644 index 00000000000..090ee8c37b1 --- /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 include + + +