gnu: aria2: Fix build.

* gnu/packages/bittorrent.scm (aria2)[arguments]: Add phase "patch-configure".

Change-Id: I205ebc7017e266341863a2b84c93f3d94ab4b262
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 19:56:53 +01:00 committed by Andreas Enge
parent 4d16d7fc4b
commit a433af42fa
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -21,6 +21,7 @@
;;; Copyright © 2024 Noisytoot <ron@noisytoot.org>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -327,6 +328,10 @@ Transmission BitTorrent daemon.")
#$output "/etc/bash_completion.d/"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-configure
(lambda _
(substitute* "configure.ac"
(("0[.]18") "0.19.6"))))
(add-after 'unpack 'delete-socket-tests
(lambda _
(substitute* "test/LpdMessageDispatcherTest.cc"