forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ports: Add port aria2 version 1.36.0
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env -S bash ../.port_include.sh | ||
port='aria2' | ||
version='1.36.0' | ||
files="https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5" | ||
auth_type='sha256' | ||
depends=( | ||
"libssh2" | ||
"libxml2" | ||
"openssl" | ||
"zlib" | ||
"libuv" | ||
) | ||
useconfigure='true' | ||
use_fresh_config_sub='true' | ||
config_sub_paths+=("deps/wslay/config.sub") | ||
configopts+=( | ||
"--with-libuv" | ||
"--with-sysroot=${SERENITY_INSTALL_ROOT}" | ||
) |
21 changes: 21 additions & 0 deletions
21
Ports/aria2/patches/0001-Include-sys-select.h-in-src-SelectEventPoll.cc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: EWouters <[email protected]> | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|