[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: bristol: Fix build failure with alsa-lib 1.1.x.
From: |
Ricardo Wurmus |
Subject: |
01/01: gnu: bristol: Fix build failure with alsa-lib 1.1.x. |
Date: |
Mon, 20 Mar 2017 17:45:18 -0400 (EDT) |
rekado pushed a commit to branch core-updates
in repository guix.
commit bd0c62315b2ed400f3b58d457b5d2e4efb6ea138
Author: Ricardo Wurmus <address@hidden>
Date: Mon Mar 20 22:44:26 2017 +0100
gnu: bristol: Fix build failure with alsa-lib 1.1.x.
* gnu/packages/music.scm (bristol)[arguments]: Add build phase to fix build
failure with alsa-lib 1.1.x.
---
gnu/packages/music.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 87b6d5b..5067ee8 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1236,6 +1236,13 @@ mixing, FFT scopes, MIDI automation and full
scriptability in Scheme.")
(substitute* "bristol/Makefile.in"
(("-msse -mfpmath=sse") "")))
#t))
+ ;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
+ ;; bristol actually doesn't use it.
+ (add-after 'unpack 'do-not-use-alsa-iatomic
+ (lambda _
+ (substitute* "libbristolaudio/audioEngineJack.c"
+ (("#include <alsa/iatomic.h>") ""))
+ #t))
;; We know that Bristol has been linked with JACK and we don't have
;; ldd, so we can just skip this check.
(add-after 'unpack 'do-not-grep-for-jack