guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e3a90b81503cefb3b27fbac2ee44cb94f41635c1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Aug 7 11:08:42 2025 +0100

    gnu: lmms: Fix build.
    
    Fixes guix/guix#1802
    
    * gnu/packages/music.scm (lmms) [arguments] <phases>: Add
    'fix-carla-export.
    
    Change-Id: I763418c78068388c76066a62b7bf9277afe3a355
---
 gnu/packages/music.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 8e7394946e..860d63b366 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5247,6 +5247,12 @@ and more.  Full API documentation and examples are 
included.")
       #:configure-flags '(list "-DWANT_QT5=ON" "-DWANT_VST=OFF")
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-carla-export
+            ;; Taken from NixOS package definition.
+            (lambda _
+              (substitute* "plugins/carlabase/carla.h"
+                (("CARLA_EXPORT")
+                 "CARLA_API_EXPORT"))))
           (add-after 'unpack 'unpack-rpmalloc
             (lambda* (#:key inputs #:allow-other-keys)
               (copy-recursively (assoc-ref inputs "rpmalloc")

Reply via email to