mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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>
This commit is contained in:
parent
a66a5d55c5
commit
8dbc9b4658
1 changed files with 7 additions and 0 deletions
|
@ -7247,6 +7247,13 @@ (define-public a2jmidid
|
|||
(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))))
|
||||
|
|
Loading…
Reference in a new issue