From 9d54b12a4917713148ea9967e1b4bee754c158b0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Oct 2016 23:35:52 +0200 Subject: [PATCH] gnu: gx-saturator-lv2: Fix SSE detection. * gnu/packages/music.scm (gx-saturator-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 9c8de9e176..065c4b74c4 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2148,6 +2148,17 @@ (define-public gx-saturator-lv2 (base32 "13cf5gxr2wzp5954hdhbl79v98a665ll5434mb3668p4j33sv217")) (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/GxSaturator.lv2") (synopsis "Saturation effect") (description "This package provides the LV2 plugin \"GxSaturator\", a