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.
This commit is contained in:
Ricardo Wurmus 2017-03-20 22:44:26 +01:00
parent 4e6509b27f
commit bd0c62315b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

@ -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