~ruther/guix-local

0d2c0562b86c70e409df53b6013d2835781a673b — Ricardo Wurmus 9 years ago c3913fa
gnu: stringtie: Remove typedef conflict.

* gnu/packages/bioinformatics.scm (stringtie)[arguments]: Remove conflicting
typedef in a new build phase "remove-duplicate-typedef".
1 files changed, 7 insertions(+), 0 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +7 -0
@@ 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/")))