From 2dedc16b04d16897c62b363d5e0091b30728252e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Oct 2016 23:37:15 +0200 Subject: [PATCH] gnu: gx-voodoo-fuzz-lv2: Fix SSE detection. * gnu/packages/music.scm (gx-voodoo-fuzz-lv2)[arguments]: Add phase "escape-shell-commands". --- gnu/packages/music.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 72006ff905..87dd5f2cf9 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2210,6 +2210,17 @@ simulation of the Hyperion Fuzz pedal.")))) (base32 "1ji915bly588a8xwvwspvsqv0nh8ljgi6rky2mk1d9d6nz96jrbk")) (file-name (string-append name "-" version "-checkout")))) + (arguments + (substitute-keyword-arguments (package-arguments gx-guvnor-lv2) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'escape-shell-commands + (lambda _ + (substitute* "Makefile" + (("cat ") "$(shell cat ") + (("/dev/null") "/dev/null)") + (("SSE_CFLAGS = \"\"") "SSE_CFLAGS =")) + #t)))))) (home-page "https://github.com/brummer10/GxVoodoFuzz.lv2") (synopsis "Fuzz effect modelled after the Voodoo Lab SuperFuzz") (description "This package provides the LV2 plugin \"GxVoodooFuzz\", a