From c6e45a93d4a0ffdeaeba87e852b4204f75e318ed Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Oct 2016 23:37:36 +0200 Subject: [PATCH] gnu: gx-super-fuzz-lv2: Fix SSE detection. * gnu/packages/music.scm (gx-super-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 87dd5f2cf9..51f391b691 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2243,6 +2243,17 @@ (define-public gx-super-fuzz-lv2 (base32 "1jclp53p01h94cpx17wm4765r7klbr41g7bvq87l53qwlrgkc7a9")) (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/GxSuperFuzz.lv2") (synopsis "Fuzz effect modelled after the UniVox SuperFuzz") (description "This package provides the LV2 plugin \"GxVoodooFuzz\", an