gnu: bwa-pssm: Fix build.

* gnu/packages/bioinformatics.scm (bwa-pssm)[arguments]: Add phase
'patch-C-error.
This commit is contained in:
Ricardo Wurmus 2021-12-07 17:53:14 +01:00
parent 4195a877cb
commit b764d10e91
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2243,6 +2243,14 @@ (define-public bwa-pssm
(base32
"076c4q0cdqz8jgylb067y9zmvxglppnzi3qiscn0xiypgc6lgb5r"))))
(build-system gnu-build-system)
(arguments
(substitute-keyword-arguments (package-arguments bwa)
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(add-after 'unpack 'patch-C-error
(lambda _
(substitute* "pssm.c"
(("inline int map") "int map"))))))))
(inputs
`(("gdsl" ,gdsl)
("zlib" ,zlib)