mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libtorrent: update to openssl3
This commit is contained in:
@@ -4,7 +4,7 @@ with the goals of being efficient and easy to use."
|
|||||||
HOMEPAGE="http://libtorrent.rakshasa.no/"
|
HOMEPAGE="http://libtorrent.rakshasa.no/"
|
||||||
COPYRIGHT="2005-2019 Jari Sundell"
|
COPYRIGHT="2005-2019 Jari Sundell"
|
||||||
LICENSE="GNU LGPL v2"
|
LICENSE="GNU LGPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://github.com/rakshasa/rtorrent/releases/download/v0.9.8/libtorrent-$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/rakshasa/rtorrent/releases/download/v0.9.8/libtorrent-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983"
|
CHECKSUM_SHA256="ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983"
|
||||||
PATCHES="libtorrent-$portVersion.patchset"
|
PATCHES="libtorrent-$portVersion.patchset"
|
||||||
@@ -40,7 +40,7 @@ REQUIRES_devel="
|
|||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
devel:libcppunit$secondaryArchSuffix
|
devel:libcppunit$secondaryArchSuffix
|
||||||
devel:libcrypto$secondaryArchSuffix
|
devel:libcrypto$secondaryArchSuffix >= 3
|
||||||
devel:libgettextlib$secondaryArchSuffix
|
devel:libgettextlib$secondaryArchSuffix
|
||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
From 3a221c1f3a413103a32aea71451ab7cd82222edf Mon Sep 17 00:00:00 2001
|
From 1b4728925f0211e3a37cf7e2843bd17ba9be2286 Mon Sep 17 00:00:00 2001
|
||||||
From: Sergei Reznikov <diver@gelios.net>
|
From: Sergei Reznikov <diver@gelios.net>
|
||||||
Date: Thu, 3 Jan 2019 11:47:05 +0300
|
Date: Thu, 3 Jan 2019 11:47:05 +0300
|
||||||
Subject: Fix build on Haiku
|
Subject: Fix build on Haiku
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/net/socket_fd.cc b/src/net/socket_fd.cc
|
diff --git a/src/net/socket_fd.cc b/src/net/socket_fd.cc
|
||||||
old mode 100755
|
index f04059f..7967ac0 100644
|
||||||
new mode 100644
|
|
||||||
index 54cb6de..fba9d7c
|
|
||||||
--- a/src/net/socket_fd.cc
|
--- a/src/net/socket_fd.cc
|
||||||
+++ b/src/net/socket_fd.cc
|
+++ b/src/net/socket_fd.cc
|
||||||
@@ -70,9 +70,11 @@ SocketFd::set_priority(priority_type p) {
|
@@ -70,9 +70,11 @@ SocketFd::set_priority(priority_type p) {
|
||||||
@@ -23,10 +21,10 @@ index 54cb6de..fba9d7c
|
|||||||
}
|
}
|
||||||
|
|
||||||
--
|
--
|
||||||
2.19.1
|
2.45.2
|
||||||
|
|
||||||
|
|
||||||
From 6ca0922b9b43d10199357c1e4a97506431452ad5 Mon Sep 17 00:00:00 2001
|
From 97f5eca7cba7e1663408166f1f770929f3316e67 Mon Sep 17 00:00:00 2001
|
||||||
From: Sergei Reznikov <diver@gelios.net>
|
From: Sergei Reznikov <diver@gelios.net>
|
||||||
Date: Mon, 4 Mar 2019 15:51:53 +0300
|
Date: Mon, 4 Mar 2019 15:51:53 +0300
|
||||||
Subject: Workaround a bug "rtorrent: Could not allocate socket for listening."
|
Subject: Workaround a bug "rtorrent: Could not allocate socket for listening."
|
||||||
@@ -34,7 +32,7 @@ Subject: Workaround a bug "rtorrent: Could not allocate socket for listening."
|
|||||||
https://github.com/rakshasa/rtorrent/issues/820#issuecomment-455900997
|
https://github.com/rakshasa/rtorrent/issues/820#issuecomment-455900997
|
||||||
|
|
||||||
diff --git a/src/net/socket_fd.cc b/src/net/socket_fd.cc
|
diff --git a/src/net/socket_fd.cc b/src/net/socket_fd.cc
|
||||||
index fba9d7c..725e76e 100644
|
index 7967ac0..9e39f6c 100644
|
||||||
--- a/src/net/socket_fd.cc
|
--- a/src/net/socket_fd.cc
|
||||||
+++ b/src/net/socket_fd.cc
|
+++ b/src/net/socket_fd.cc
|
||||||
@@ -128,40 +128,14 @@ SocketFd::get_error() const {
|
@@ -128,40 +128,14 @@ SocketFd::get_error() const {
|
||||||
@@ -83,5 +81,27 @@ index fba9d7c..725e76e 100644
|
|||||||
|
|
||||||
bool
|
bool
|
||||||
--
|
--
|
||||||
2.19.1
|
2.45.2
|
||||||
|
|
||||||
|
|
||||||
|
From a733b858c06a76b4c1082b0910400d97fbaba7f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: PulkoMandy <pulkomandy@pulkomandy.tk>
|
||||||
|
Date: Wed, 28 Aug 2024 20:34:48 +0200
|
||||||
|
Subject: Define _GNU_SOURCE for pthread_setname_np
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/torrent/utils/thread_base.cc b/src/torrent/utils/thread_base.cc
|
||||||
|
index 778e4c3..9df7906 100644
|
||||||
|
--- a/src/torrent/utils/thread_base.cc
|
||||||
|
+++ b/src/torrent/utils/thread_base.cc
|
||||||
|
@@ -33,6 +33,7 @@
|
||||||
|
//
|
||||||
|
// Skomakerveien 33
|
||||||
|
// 3185 Skoppum, NORWAY
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user