From 0d2c0562b86c70e409df53b6013d2835781a673b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 30 Mar 2017 10:22:21 +0200 Subject: gnu: stringtie: Remove typedef conflict. * gnu/packages/bioinformatics.scm (stringtie)[arguments]: Remove conflicting typedef in a new build phase "remove-duplicate-typedef". --- gnu/packages/bioinformatics.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 232c7db838..1bba270749 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5210,6 +5210,13 @@ (define-public stringtie (("#include \"(bam|sam|kstring).h\"" _ header) (string-append "#include "))) #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/"))) -- cgit v1.2.3