summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-10-17 08:07:31 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-10-17 08:07:31 +0000
commita29c4c9913ad44fa4af0c6c5dde5cef6c685bf42 (patch)
tree552abf4116de94bd3523dc9b0cd8fff7f926edec /sci-biology/tophat
parentapp-backup/duply: Version BUmp (diff)
downloadgentoo-2-a29c4c9913ad44fa4af0c6c5dde5cef6c685bf42.tar.gz
gentoo-2-a29c4c9913ad44fa4af0c6c5dde5cef6c685bf42.tar.bz2
gentoo-2-a29c4c9913ad44fa4af0c6c5dde5cef6c685bf42.zip
Non-maintainer commit: fix building, approved by Justin Lecher
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'sci-biology/tophat')
-rw-r--r--sci-biology/tophat/ChangeLog5
-rw-r--r--sci-biology/tophat/tophat-1.0.12.ebuild10
2 files changed, 11 insertions, 4 deletions
diff --git a/sci-biology/tophat/ChangeLog b/sci-biology/tophat/ChangeLog
index 7fdca2b3f069..3f7a5ca73162 100644
--- a/sci-biology/tophat/ChangeLog
+++ b/sci-biology/tophat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-biology/tophat
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/tophat/ChangeLog,v 1.12 2014/03/06 09:46:50 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/tophat/ChangeLog,v 1.13 2014/10/17 08:07:31 pinkbyte Exp $
+
+ 17 Oct 2014; Sergey Popov <pinkbyte@gentoo.org> tophat-1.0.12.ebuild:
+ Non-maintainer commit: fix building, approved by Justin Lecher
*tophat-2.0.9 (06 Mar 2014)
diff --git a/sci-biology/tophat/tophat-1.0.12.ebuild b/sci-biology/tophat/tophat-1.0.12.ebuild
index ca2c4d3959b0..4d43179fca2f 100644
--- a/sci-biology/tophat/tophat-1.0.12.ebuild
+++ b/sci-biology/tophat/tophat-1.0.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/tophat/tophat-1.0.12.ebuild,v 1.5 2012/04/25 16:39:53 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/tophat/tophat-1.0.12.ebuild,v 1.6 2014/10/17 08:07:31 pinkbyte Exp $
EAPI="2"
@@ -19,8 +19,12 @@ DEPEND=""
RDEPEND="sci-biology/bowtie"
src_prepare() {
- # fix gcc-4.4 missing include
+ # fix missing includes
sed -i '/#include <string>/ a #include <stdio.h>' "${S}/src/gff_juncs.cpp" || die
+ sed -i \
+ -e '/#include <stdio.h>/ a #include <unistd.h>' \
+ "${S}/src/prep_reads.cpp" \
+ "${S}/src/extract_reads.cpp" || die
# fix parallel make race
sed -i -e 's/\$(top_builddir)\/src\///g' src/Makefile.am || die
# remove broken arch-dependent CFLAGS setting