gnu: stringtie: Remove typedef conflict.
* gnu/packages/bioinformatics.scm (stringtie)[arguments]: Remove conflicting typedef in a new build phase "remove-duplicate-typedef".
This commit is contained in:
parent
c3913fac57
commit
0d2c0562b8
|
@ -5210,6 +5210,13 @@ against local background noises.")
|
||||||
(("#include \"(bam|sam|kstring).h\"" _ header)
|
(("#include \"(bam|sam|kstring).h\"" _ header)
|
||||||
(string-append "#include <samtools/" header ".h>")))
|
(string-append "#include <samtools/" header ".h>")))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'unpack 'remove-duplicate-typedef
|
||||||
|
(lambda _
|
||||||
|
;; This typedef conflicts with the typedef in
|
||||||
|
;; glibc-2.25/include/bits/types.h
|
||||||
|
(substitute* "gclib/GThreads.h"
|
||||||
|
(("typedef long long __intmax_t;") ""))
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
|
||||||
|
|
Loading…
Reference in New Issue