mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libtorrent_rasterbar: bump version
This commit is contained in:
@@ -11,7 +11,7 @@ The main goals of libtorrent are:
|
||||
* to be memory efficient
|
||||
* to be very easy to use"
|
||||
HOMEPAGE="https://www.libtorrent.org/"
|
||||
COPYRIGHT="2003-2018 Arvid Norberg
|
||||
COPYRIGHT="2003-2019 Arvid Norberg
|
||||
Andrei Kurushin
|
||||
Steven Siloti
|
||||
Thomas Fischer
|
||||
@@ -29,15 +29,15 @@ COPYRIGHT="2003-2018 Arvid Norberg
|
||||
Reimond Retz"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent_${portVersion//./_}/libtorrent-rasterbar-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a5937134edf3ca8c109403a47f5a5fc93f7b8dca4e97f1a629a8c84288bee7a7"
|
||||
SOURCE_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${portVersion//./_}/libtorrent-rasterbar-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d"
|
||||
SOURCE_DIR="libtorrent-rasterbar-$portVersion"
|
||||
PATCHES="libtorrent_rasterbar-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
libVersion="9.0.0"
|
||||
libVersion="10.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -64,9 +64,9 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_chrono$secondaryArchSuffix >= 1.65.0
|
||||
devel:libboost_random$secondaryArchSuffix >= 1.65.0
|
||||
devel:libboost_system$secondaryArchSuffix >= 1.65.0
|
||||
devel:libboost_chrono$secondaryArchSuffix
|
||||
devel:libboost_random$secondaryArchSuffix
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 1.0.0
|
||||
"
|
||||
@@ -1,15 +1,15 @@
|
||||
From 5c96f785a2b2ebc095e665da736bb532e40b1007 Mon Sep 17 00:00:00 2001
|
||||
From cc534620bfbbd897851ec02f8acf8176935f8e7e Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Tue, 26 Feb 2019 23:09:10 +1000
|
||||
Date: Wed, 8 Jan 2020 00:33:16 +0300
|
||||
Subject: Fixes for Haiku
|
||||
|
||||
|
||||
diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp
|
||||
index 0fe4dce..744e297 100644
|
||||
index e58f0f6..ea0f2d2 100644
|
||||
--- a/include/libtorrent/config.hpp
|
||||
+++ b/include/libtorrent/config.hpp
|
||||
@@ -322,6 +322,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#define TORRENT_USE_BEOS_ATOMIC 1
|
||||
@@ -320,6 +320,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#define TORRENT_HAS_FALLOCATE 0
|
||||
#ifndef TORRENT_USE_ICONV
|
||||
#define TORRENT_USE_ICONV 0
|
||||
+#define TORRENT_USE_IFCONF 1
|
||||
@@ -17,11 +17,11 @@ index 0fe4dce..744e297 100644
|
||||
|
||||
// ==== GNU/Hurd ===
|
||||
diff --git a/src/enum_net.cpp b/src/enum_net.cpp
|
||||
index 94d9f7f..e9aee31 100644
|
||||
index 16e3750..be4a632 100644
|
||||
--- a/src/enum_net.cpp
|
||||
+++ b/src/enum_net.cpp
|
||||
@@ -93,6 +93,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <sys/types.h>
|
||||
@@ -97,6 +97,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#endif
|
||||
|
||||
+#if defined __HAIKU__
|
||||
@@ -32,5 +32,5 @@ index 94d9f7f..e9aee31 100644
|
||||
#include <ifaddrs.h>
|
||||
#endif
|
||||
--
|
||||
2.19.1
|
||||
2.24.1
|
||||
|
||||
Reference in New Issue
Block a user