rtorrent: update to 0.15.2.

This commit is contained in:
crdpa 2025-04-05 10:03:05 -03:00
parent 38d4865b0c
commit 27a10d2fd5
3 changed files with 4 additions and 41 deletions

View file

@ -1,14 +0,0 @@
--sysroot should be enough.
--- 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], [
else
AC_MSG_RESULT($withval)
- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])

View file

@ -1,23 +0,0 @@
--- a/scripts/checks.m4 2015-07-02 00:32:45.000000000 +0200
+++ b/scripts/checks.m4 2015-07-14 15:39:07.334398349 +0200
@@ -463,19 +463,9 @@
fi
if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then
+ AC_MSG_RESULT(ok)
CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`"
LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`"
-
- AC_TRY_LINK(
- [ #include <xmlrpc-c/server.h>
- ],[ xmlrpc_registry_new(NULL); ],
- [
- AC_MSG_RESULT(ok)
- ], [
- AC_MSG_RESULT(failed)
- AC_MSG_ERROR(Could not compile XMLRPC-C test.)
- ])
-
AC_DEFINE(HAVE_XMLRPC_C, 1, Support for XMLRPC-C.)
else

View file

@ -1,18 +1,18 @@
# Template file for 'rtorrent'
pkgname=rtorrent
version=0.9.8
revision=3
version=0.15.2
revision=1
build_style=gnu-configure
configure_args="--with-xmlrpc-c"
hostmakedepends="automake libtool pkg-config"
makedepends="libcppunit-devel libsigc++-devel libtorrent-devel ncurses-devel
xmlrpc-c-devel"
short_desc="Ncurses BitTorrent client based on libTorrent"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="crdpa <cris@crdpa.com>"
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=17458249803042fdc21f9792ab670c49080466e3f0e045e1bca46c9f1def7701
pre_configure() {
autoreconf -fi