guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/30: gnu: a2jmidid: Fix build for riscv64-linux.


From: guix-commits
Subject: 15/30: gnu: a2jmidid: Fix build for riscv64-linux.
Date: Tue, 19 Mar 2024 07:12:08 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 8dbc9b46586e55967e1ea4b6067e82bcba031ba1
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Tue Mar 19 19:08:09 2024 +0800

    gnu: a2jmidid: Fix build for riscv64-linux.
    
    * gnu/packages/music.scm (a2jmidid)[source]: Add snippet.
    
    Change-Id: I7bcbe87cba314eeb7f939ea64573b3717e4ed448
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 gnu/packages/music.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c0137ed548..c1f69ee55c 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -7247,6 +7247,13 @@ It is provided as an LV2 plugin and as a standalone Jack 
application.")
               (uri (git-reference
                     (url "https://github.com/jackaudio/a2jmidid";)
                     (commit version)))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Fix build for for riscv64-linux, same as:
+               ;;   https://github.com/jackaudio/a2jmidid/pull/18
+               '(substitute* "sigsegv.c"
+                  (("!defined[(]__aarch64__[)]")
+                   "!defined(__arch64__) && !defined(__riscv)")))
               (sha256
                (base32 "1x6rcl3f4nklnx4p5jln9a7fpj9y7agjxs9rw7cccmwnski7pnsq"))
               (file-name (git-file-name name version))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]