Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ libosp.so.5 opensp-1.5.2_1
libogrove.so.0 openjade-1.3.2_1
libospgrove.so.0 openjade-1.3.2_1
libostyle.so.0 openjade-1.3.2_1
libtorrent.so.21 libtorrent-0.13.8_4
libtorrent.so.25 libtorrent-0.15.5_1
libgiblib.so.1 giblib-1.2.4_1
libgc.so.1 gc-7.6.4_1
libcord.so.1 gc-7.4_1
Expand Down
22 changes: 17 additions & 5 deletions srcpkgs/libtorrent/patches/fix-sysroot-handling.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
--sysroot should be enough.
From 06e3fccb3e4b98fe4ef93a7fddb57e429fab4d89 Mon Sep 17 00:00:00 2001
From: elbachir-one <[email protected]>
Date: Sat, 26 Jul 2025 11:13:38 +0100
Subject: [PATCH] Fix sysroot handling

--- a/scripts/common.m4 2014-02-02 11:58:17.361448885 +0100
+++ b/scripts/common.m4 2014-02-02 11:59:13.048185911 +0100
@@ -63,8 +63,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
---
scripts/common.m4 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/common.m4 b/scripts/common.m4
index 480bdef..fef71bb 100644
--- a/scripts/common.m4
+++ b/scripts/common.m4
@@ -14,8 +14,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
else
AC_MSG_RESULT($withval)

- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])
--
2.50.1

7 changes: 3 additions & 4 deletions srcpkgs/libtorrent/template
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Template file for 'libtorrent'
pkgname=libtorrent
version=0.13.8
revision=5
version=0.15.5
revision=1
build_style=gnu-configure
configure_args="--enable-static --disable-debug --without-kqueue
--enable-aligned --with-posix-fallocate"
hostmakedepends="automake libtool pkg-config"
makedepends="openssl-devel zlib-devel"
# XXX: if built with XBPS_CHECK_PKGS, final binary will be dyn linked against libcppunit
checkdepends="libcppunit-devel"
short_desc="BitTorrent library written in C++"
maintainer="Orphaned <[email protected]>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/libtorrent"
distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz"
checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722
checksum=e3c1728c3dba615424db0b7e6ade105a9c041d02b8f5c8443ada06e50d21ed46

# https://github.com/rakshasa/rtorrent/issues/156
case "$XBPS_TARGET_MACHINE" in
Expand Down
22 changes: 17 additions & 5 deletions srcpkgs/rtorrent/patches/fix-sysroot-handling.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
--sysroot should be enough.
From 95fe7f8a6e151b3350dcaa8cf44a137c12000cef Mon Sep 17 00:00:00 2001
From: elbachir-one <[email protected]>
Date: Sat, 26 Jul 2025 12:06:54 +0100
Subject: [PATCH] Fix sysroot handling

--- a/scripts/common.m4 2014-02-02 11:58:17.361448885 +0100
+++ b/scripts/common.m4 2014-02-02 11:59:13.048185911 +0100
@@ -63,8 +63,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
---
scripts/common.m4 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/common.m4 b/scripts/common.m4
index 480bdef..fef71bb 100644
--- a/scripts/common.m4
+++ b/scripts/common.m4
@@ -14,8 +14,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
else
AC_MSG_RESULT($withval)

- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])
--
2.50.1

23 changes: 0 additions & 23 deletions srcpkgs/rtorrent/patches/no_xmlrpc_c_compile.patch

This file was deleted.

6 changes: 3 additions & 3 deletions srcpkgs/rtorrent/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.8
revision=3
version=0.15.5
revision=1
build_style=gnu-configure
configure_args="--with-xmlrpc-c"
hostmakedepends="automake libtool pkg-config"
Expand All @@ -12,7 +12,7 @@ maintainer="Orphaned <[email protected]>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/rtorrent"
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz"
checksum=bc889ce1dde475ec56aa72ae996912ff58723226a4f4256fef4f1f8636d991d4
checksum=ea38383f84ab6de25115febea6849315735c3a6d5f6bfc9d30ea9eff528c1db0

pre_configure() {
autoreconf -fi
Expand Down
Loading