diff options
| -rw-r--r-- | gnu/packages/audio.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 50267ee0fe..2ba2195695 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2872,6 +2872,14 @@ synchronous execution of all clients, and low latency operation.") #:configure-flags '("--dbus" "--alsa") #:phases (modify-phases %standard-phases + ;; Python 3.11 has removed the 'U' (universal newline) mode. It has + ;; been the default since Python 3.3. + (add-after 'unpack 'python-compatibility + (lambda _ + (substitute* '("waflib/Context.py" + "waflib/ConfigSet.py") + (("m='rU'") "m='r'") + (("read\\('rU'") "read('r'")))) (add-before 'configure 'set-linkflags (lambda _ ;; Ensure -lstdc++ is the tail of LDFLAGS or the simdtests.cpp |
