diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-09-04 09:22:53 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-09-04 09:22:53 +0000 |
commit | 4343cc0dcaccd84694c4c13bdd73167f7e7fcdef (patch) | |
tree | 70dd0035e19f8c9ef6dc87ab79b69e033a4f2d96 /sci-biology/seaview | |
parent | Fix building with GLIBC 2.10+ wrt #281130 by Christoph Brill. (diff) | |
download | gentoo-2-4343cc0dcaccd84694c4c13bdd73167f7e7fcdef.tar.gz gentoo-2-4343cc0dcaccd84694c4c13bdd73167f7e7fcdef.tar.bz2 gentoo-2-4343cc0dcaccd84694c4c13bdd73167f7e7fcdef.zip |
Fix building with GLIBC 2.10+ wrt #282431.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/seaview')
-rw-r--r-- | sci-biology/seaview/ChangeLog | 8 | ||||
-rw-r--r-- | sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch | 12 | ||||
-rw-r--r-- | sci-biology/seaview/seaview-20071113.ebuild | 11 |
3 files changed, 24 insertions, 7 deletions
diff --git a/sci-biology/seaview/ChangeLog b/sci-biology/seaview/ChangeLog index 50e0f90d518f..7e0d3dc774cd 100644 --- a/sci-biology/seaview/ChangeLog +++ b/sci-biology/seaview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-biology/seaview -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.27 2009/03/24 21:06:07 ribosome Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.28 2009/09/04 09:22:53 ssuominen Exp $ + + 04 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> + seaview-20071113.ebuild, +files/seaview-20071113-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #282431. 24 Mar 2009; Olivier Fisette <ribosome@gentoo.org> metadata.xml: Giving up maintainership of this package. diff --git a/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch b/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch new file mode 100644 index 000000000000..9f64ea23a76b --- /dev/null +++ b/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur seaview.orig/seaview.cxx seaview/seaview.cxx +--- seaview.orig/seaview.cxx 2007-10-23 18:11:34.000000000 +0300 ++++ seaview/seaview.cxx 2009-09-04 12:22:13.000000000 +0300 +@@ -3924,7 +3924,7 @@ + if( clipboard_contains_alignment(clipboard) ) { + char **seqs, **seqnames, **comments, *p, *message; + int i, count, num, changedwname = FALSE; +- p = strchr(clipboard, ':') + 1; ++ p = const_cast<char*> (strchr(clipboard, ':') + 1); + count = read_mase_seqs_header(p, &seqs, &seqnames, + &comments, NULL, &message); + if(count == 0) return; diff --git a/sci-biology/seaview/seaview-20071113.ebuild b/sci-biology/seaview/seaview-20071113.ebuild index e8b4170fa7e1..a1be2dd1d340 100644 --- a/sci-biology/seaview/seaview-20071113.ebuild +++ b/sci-biology/seaview/seaview-20071113.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v 1.4 2008/11/14 19:31:29 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-20071113.ebuild,v 1.5 2009/09/04 09:22:53 ssuominen Exp $ -EAPI="1" - -inherit toolchain-funcs multilib +EAPI=1 +inherit eutils toolchain-funcs multilib DESCRIPTION="A graphical multiple sequence alignment editor" HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html" @@ -44,6 +43,8 @@ src_unpack() { -e "s:^#HELP_NOT_IN_PATH:HELP_NOT_IN_PATH:" \ -e "s:bge/mgouy:usr/share:" \ Makefile || die "sed Makefile failed" + + epatch "${FILESDIR}"/${P}-glibc-2.10.patch } src_install() { |