1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: guitarix: Make compatible with Python 3.11.

* gnu/packages/audio.scm (guitarix)[arguments]: Add phase
'python3.11-compatibility.

Change-Id: I09d5517f0d2cbe0b4b888f812cc8109f6a5f1f08
This commit is contained in:
Ricardo Wurmus
2025-03-23 14:02:24 +01:00
committed by Andreas Enge
parent 589a74c25a
commit 7628b065f0

View File

@@ -2672,7 +2672,13 @@ partial release of the General MIDI sound set.")
#:configure-flags
#~(list
;; Add the output lib directory to the RUNPATH.
(string-append "--ldflags=-Wl,-rpath=" #$output "/lib"))))
(string-append "--ldflags=-Wl,-rpath=" #$output "/lib"))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'python3.11-compatibility
(lambda _
(substitute* "wscript"
(("'rU'") "'r'")))))))
(inputs
(list libsndfile
boost