summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-27 00:14:46 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-27 00:16:58 +0100
commit63ebc380a8ae2997113a6df3b6f6d9ec706a289f (patch)
treea64d4e6fb5b3a34c6e285d0466953316b86285e3
parent3d5806ed6cf9f8020a25a13b3e2f5c4e479d4529 (diff)
downloadguix-63ebc380a8ae2997113a6df3b6f6d9ec706a289f.tar.gz
gnu: ir: Fix build.
* gnu/packages/audio.scm (ir)[arguments]: Add phase "fix-type".
-rw-r--r--gnu/packages/audio.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 820b75bb17..1d2943fb41 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1942,8 +1942,15 @@ well suited to all musical instruments and vocals.")
        (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
              (string-append "INSTDIR="
                             (assoc-ref %outputs "out") "/lib/lv2"))
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure))))        ; no configure script
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)        ; no configure script
+         ;; See https://github.com/tomszilagyi/ir.lv2/pull/20
+         (add-after 'unpack 'fix-type 
+           (lambda _
+             (substitute* '("ir_gui.cc" "lv2_ui.h")
+               (("_LV2UI_Descriptor") "LV2UI_Descriptor"))
+             #t)))))
     (inputs
      `(("libsndfile" ,libsndfile)
        ("libsamplerate" ,libsamplerate)