summaryrefslogtreecommitdiff
path: root/ports/curl/patches
diff options
context:
space:
mode:
Diffstat (limited to 'ports/curl/patches')
-rw-r--r--ports/curl/patches/0-autoconf.patch10
-rw-r--r--ports/curl/patches/1-includes.patch10
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/curl/patches/0-autoconf.patch b/ports/curl/patches/0-autoconf.patch
new file mode 100644
index 0000000..25ab95f
--- /dev/null
+++ b/ports/curl/patches/0-autoconf.patch
@@ -0,0 +1,10 @@
+--- config.sub.orig 2023-11-20 20:42:24.667820565 +0100
++++ config.sub 2023-11-20 20:42:38.215040191 +0100
+@@ -1754,6 +1754,7 @@
+ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
+ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
++ | camellia* \
+ | fiwix* )
+ ;;
+ # This one is extra strict with allowed versions
diff --git a/ports/curl/patches/1-includes.patch b/ports/curl/patches/1-includes.patch
new file mode 100644
index 0000000..009ef5c
--- /dev/null
+++ b/ports/curl/patches/1-includes.patch
@@ -0,0 +1,10 @@
+--- lib/select.h.orig 2023-11-20 23:12:27.240289500 +0100
++++ lib/select.h 2023-11-20 23:12:38.096619073 +0100
+@@ -31,6 +31,7 @@
+ #elif defined(HAVE_SYS_POLL_H)
+ #include <sys/poll.h>
+ #endif
++#include <sys/select.h>
+
+ /*
+ * Definition of pollfd struct and constants for platforms lacking them.