From 246b7b0b783a68b14d84c5c74908d69d2528d1ac Mon Sep 17 00:00:00 2001 From: fossdd <fossdd@pwned.life> Date: Thu, 2 Jan 2025 22:39:39 +0100 Subject: [PATCH] community/rtorrent: upgrade to 0.15.1 https://github.com/rakshasa/rtorrent/releases --- community/rtorrent/APKBUILD | 9 +-- .../rtorrent/add-ax_require_defined-m4.patch | 57 ------------------- 2 files changed, 3 insertions(+), 63 deletions(-) delete mode 100644 community/rtorrent/add-ax_require_defined-m4.patch diff --git a/community/rtorrent/APKBUILD b/community/rtorrent/APKBUILD index 16b20e6052dd..dfb47c5e74a1 100644 --- a/community/rtorrent/APKBUILD +++ b/community/rtorrent/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=rtorrent -pkgver=0.10.0 +pkgver=0.15.1 pkgrel=0 pkgdesc="Ncurses BitTorrent client based on libTorrent" url="https://rakshasa.github.io/rtorrent/" @@ -21,9 +21,7 @@ makedepends=" " checkdepends="cppunit-dev" subpackages="$pkgname-doc" -source="https://github.com/rakshasa/rtorrent/archive/v$pkgver/rtorrent-$pkgver.tar.gz - add-ax_require_defined-m4.patch - " +source="https://github.com/rakshasa/rtorrent/archive/v$pkgver/rtorrent-$pkgver.tar.gz" prepare() { default_prepare @@ -54,6 +52,5 @@ package() { } sha512sums=" -261943c29ff8b0bc2f11f54436990b35ebf4ea04272fca41fc6bfad502ff76b6e006c65e55e6e04eadf44c50869e15062c57d29888129a2f73f77dbac7f33b98 rtorrent-0.10.0.tar.gz -1133aea489ac13b5fabee774f940a6a0cf18a969a937fd24c8126978511dd1b521c2264ada9b46c6fbd63d648b97d8d34199ddc2763df487f607d3af87b619d6 add-ax_require_defined-m4.patch +86357603faec6c1633e079cf451f18297477b3ae3e4f95c337fb029d8e08032dee8703595a4a9dd22c9daef0eb6dd22262a3e1d54468341c89e331df68da71db rtorrent-0.15.1.tar.gz " diff --git a/community/rtorrent/add-ax_require_defined-m4.patch b/community/rtorrent/add-ax_require_defined-m4.patch deleted file mode 100644 index 5fe9180ce49a..000000000000 --- a/community/rtorrent/add-ax_require_defined-m4.patch +++ /dev/null @@ -1,57 +0,0 @@ -Patch-Source: https://github.com/rakshasa/rtorrent/commit/38b39bdafc9edd7e7e72672e6fcbd397b6c2cab8 --- -From 38b39bdafc9edd7e7e72672e6fcbd397b6c2cab8 Mon Sep 17 00:00:00 2001 -From: Adam Sampson <ats@offog.org> -Date: Sun, 29 Sep 2024 22:14:16 +0100 -Subject: [PATCH] Add ax_require_defined.m4 to scripts. - -This is required now by ax_with_curses.m4, but wasn't added when the -script was updated. ---- - scripts/ax_require_defined.m4 | 37 +++++++++++++++++++++++++++++++++++ - 1 file changed, 37 insertions(+) - create mode 100644 scripts/ax_require_defined.m4 - -diff --git a/scripts/ax_require_defined.m4 b/scripts/ax_require_defined.m4 -new file mode 100644 -index 000000000..17c3eab7d ---- /dev/null -+++ b/scripts/ax_require_defined.m4 -@@ -0,0 +1,37 @@ -+# =========================================================================== -+# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html -+# =========================================================================== -+# -+# SYNOPSIS -+# -+# AX_REQUIRE_DEFINED(MACRO) -+# -+# DESCRIPTION -+# -+# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have -+# been defined and thus are available for use. This avoids random issues -+# where a macro isn't expanded. Instead the configure script emits a -+# non-fatal: -+# -+# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found -+# -+# It's like AC_REQUIRE except it doesn't expand the required macro. -+# -+# Here's an example: -+# -+# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) -+# -+# LICENSE -+# -+# Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org> -+# -+# Copying and distribution of this file, with or without modification, are -+# permitted in any medium without royalty provided the copyright notice -+# and this notice are preserved. This file is offered as-is, without any -+# warranty. -+ -+#serial 2 -+ -+AC_DEFUN([AX_REQUIRE_DEFINED], [dnl -+ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) -+])dnl AX_REQUIRE_DEFINED -- GitLab