Ports: Update curl's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:00:33 +04:30 committed by Ali Mohammad Pur
parent ff7163e5b8
commit b7975b33b3
Notes: sideshowbarker 2024-07-17 10:51:58 +09:00
2 changed files with 25 additions and 2 deletions

View file

@ -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

View file

@ -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