diff options
Diffstat (limited to 'Ports/aria2/patches')
-rw-r--r-- | Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch | 21 | ||||
-rw-r--r-- | Ports/aria2/patches/ReadMe.md | 7 |
2 files changed, 28 insertions, 0 deletions
diff --git a/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch b/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch new file mode 100644 index 0000000000..0027399325 --- /dev/null +++ b/Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: EWouters <6179932+EWouters@users.noreply.github.com> +Date: Thu, 14 Apr 2022 00:22:19 +0200 +Subject: [PATCH] Include sys/select.h in src/SelectEventPoll.cc + +--- + src/SelectEventPoll.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/SelectEventPoll.cc b/src/SelectEventPoll.cc +index d9397b2..49b1f03 100644 +--- a/src/SelectEventPoll.cc ++++ b/src/SelectEventPoll.cc +@@ -40,6 +40,7 @@ + #include <cstring> + #include <algorithm> + #include <numeric> ++#include <sys/select.h> + + #include "Command.h" + #include "LogFactory.h" diff --git a/Ports/aria2/patches/ReadMe.md b/Ports/aria2/patches/ReadMe.md new file mode 100644 index 0000000000..533ee9ada9 --- /dev/null +++ b/Ports/aria2/patches/ReadMe.md @@ -0,0 +1,7 @@ +# Patches for aria2 on SerenityOS + +## `0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch` + +Include sys/select.h in src/SelectEventPoll.cc + + |