commit:     f4eeb39010bb26b81112b122be2ee4eeb2afa0ec
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Nov 10 07:50:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:49:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4eeb390

net-p2p/rtorrent-0.10.0: fix calls direct ar

Closes: https://bugs.gentoo.org/943039
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/39256
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/rtorrent-0.10.0-fix-calls-ar.patch       | 27 ++++++++++++++++++++++
 net-p2p/rtorrent/rtorrent-0.10.0.ebuild            |  3 +++
 2 files changed, 30 insertions(+)

diff --git a/net-p2p/rtorrent/files/rtorrent-0.10.0-fix-calls-ar.patch 
b/net-p2p/rtorrent/files/rtorrent-0.10.0-fix-calls-ar.patch
new file mode 100644
index 000000000000..21387d989130
--- /dev/null
+++ b/net-p2p/rtorrent/files/rtorrent-0.10.0-fix-calls-ar.patch
@@ -0,0 +1,27 @@
+Merged in upstream :
+https://github.com/rakshasa/rtorrent/commit/73c1233dc09d83e26f9ea41b8e7276daa6926d17
+
+From d0e7f26ff6b5a769d53b613180337056936e22fd Mon Sep 17 00:00:00 2001
+From: PPN-SD [email protected]
+Date: Sun, 10 Nov 2024 08:31:45 +0100
+Subject: [PATCH] Fix calls ar directly
+
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index a4dd61d..8d8c463 100755
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,6 +5,7 @@ AC_INIT([rtorrent], [0.10.0], [[email protected]])
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_MACRO_DIRS([scripts])
+ AM_INIT_AUTOMAKE([foreign subdir-objects])
++AM_PROG_AR
+ 
+ AC_DEFINE([API_VERSION], [10], [api version])
+ 
+-- 
+2.45.2
+

diff --git a/net-p2p/rtorrent/rtorrent-0.10.0.ebuild 
b/net-p2p/rtorrent/rtorrent-0.10.0.ebuild
index c8de47895785..3edd3998e0fe 100644
--- a/net-p2p/rtorrent/rtorrent-0.10.0.ebuild
+++ b/net-p2p/rtorrent/rtorrent-0.10.0.ebuild
@@ -33,6 +33,9 @@ DEPEND="${COMMON_DEPEND}
 DOCS=( doc/rtorrent.rc )
 
 PATCHES=(
+       # Merged in upstream. To be removed for the next release.
+       "${FILESDIR}"/${PN}-0.10.0-fix-calls-ar.patch
+
        "${FILESDIR}"/${PN}-0.10.0-scgi-software-crash.patch
 )
 

Reply via email to