summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-26 18:33:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-26 18:33:52 +0000
commit5cf461cbf65c7d92cb00d414b401ea203e68699d (patch)
tree64d02d5af934387a50e58e7b2664608876a6b205 /sci-biology/snpfile
parentStop files being pre-stripped, thanks to Martin von Gagern <Martin.vGagern@gm... (diff)
downloadgentoo-2-5cf461cbf65c7d92cb00d414b401ea203e68699d.tar.gz
gentoo-2-5cf461cbf65c7d92cb00d414b401ea203e68699d.tar.bz2
gentoo-2-5cf461cbf65c7d92cb00d414b401ea203e68699d.zip
Fix building with GCC 4.4 wrt #276196.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/snpfile')
-rw-r--r--sci-biology/snpfile/ChangeLog6
-rw-r--r--sci-biology/snpfile/files/snpfile-2.0.1-gcc44.patch12
-rw-r--r--sci-biology/snpfile/snpfile-2.0.1.ebuild13
3 files changed, 26 insertions, 5 deletions
diff --git a/sci-biology/snpfile/ChangeLog b/sci-biology/snpfile/ChangeLog
index c3f7f417a403..e58701876e7b 100644
--- a/sci-biology/snpfile/ChangeLog
+++ b/sci-biology/snpfile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/snpfile
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/ChangeLog,v 1.3 2009/05/24 17:31:29 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/ChangeLog,v 1.4 2009/07/26 18:33:52 ssuominen Exp $
+
+ 26 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> snpfile-2.0.1.ebuild,
+ +files/snpfile-2.0.1-gcc44.patch:
+ Fix building with GCC 4.4 wrt #276196.
24 May 2009; Markus Meier <maekke@gentoo.org> snpfile-2.0.1.ebuild:
amd64/x86 stable, bug #269967
diff --git a/sci-biology/snpfile/files/snpfile-2.0.1-gcc44.patch b/sci-biology/snpfile/files/snpfile-2.0.1-gcc44.patch
new file mode 100644
index 000000000000..2b79c2492ede
--- /dev/null
+++ b/sci-biology/snpfile/files/snpfile-2.0.1-gcc44.patch
@@ -0,0 +1,12 @@
+diff -ur snpfile-2.0.1.orig/input_archive.hh snpfile-2.0.1/input_archive.hh
+--- snpfile-2.0.1.orig/input_archive.hh 2008-05-03 17:25:44.000000000 +0300
++++ snpfile-2.0.1/input_archive.hh 2009-07-26 21:26:10.000000000 +0300
+@@ -26,6 +26,8 @@
+ #ifndef INPUT_ARCHIVE_HH_INCLUDED
+ #define INPUT_ARCHIVE_HH_INCLUDED
+
++#include <stdint.h>
++
+ #include <string>
+
+ #include "archive_common.hh"
diff --git a/sci-biology/snpfile/snpfile-2.0.1.ebuild b/sci-biology/snpfile/snpfile-2.0.1.ebuild
index 5dd380d22068..c99afe902442 100644
--- a/sci-biology/snpfile/snpfile-2.0.1.ebuild
+++ b/sci-biology/snpfile/snpfile-2.0.1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/snpfile-2.0.1.ebuild,v 1.2 2009/05/24 17:31:29 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/snpfile-2.0.1.ebuild,v 1.3 2009/07/26 18:33:52 ssuominen Exp $
+EAPI=2
inherit eutils
DESCRIPTION="A library and API for manipulating large SNP datasets"
@@ -13,9 +14,13 @@ SLOT="0"
IUSE=""
KEYWORDS="amd64 x86"
-DEPEND="dev-libs/boost"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-libs/boost"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+}
src_install() {
- emake install DESTDIR="${D}" || die "emake install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
}