gnu: stringtie: Remove typedef conflict.

* gnu/packages/bioinformatics.scm (stringtie)[arguments]: Remove conflicting
typedef in a new build phase "remove-duplicate-typedef".
master
Ricardo Wurmus 2017-03-30 10:22:21 +02:00
parent c3913fac57
commit 0d2c0562b8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

@ -5210,6 +5210,13 @@ against local background noises.")
(("#include \"(bam|sam|kstring).h\"" _ header)
(string-append "#include <samtools/" header ".h>")))
#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
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))