summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2006-09-12 21:27:20 +0000
committerOlivier Fisette <ribosome@gentoo.org>2006-09-12 21:27:20 +0000
commit7fd7b996cb4e87bd81d36f7883770920dfdf77b5 (patch)
tree7708ea38237aaff8ce26897544a5e87d1e0203e5 /sci-biology
parentinstall c98/c99 into /usr/bin (diff)
downloadgentoo-2-7fd7b996cb4e87bd81d36f7883770920dfdf77b5.tar.gz
gentoo-2-7fd7b996cb4e87bd81d36f7883770920dfdf77b5.tar.bz2
gentoo-2-7fd7b996cb4e87bd81d36f7883770920dfdf77b5.zip
Fixed a GCC4 compilation issue (see bug #138833)
(Portage version: 2.1.1)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/ariadne/ChangeLog6
-rw-r--r--sci-biology/ariadne/ariadne-1.3-r1.ebuild5
-rw-r--r--sci-biology/ariadne/files/ariadne-1.3-gcc4.patch10
-rw-r--r--sci-biology/ariadne/files/digest-ariadne-1.3-r12
4 files changed, 20 insertions, 3 deletions
diff --git a/sci-biology/ariadne/ChangeLog b/sci-biology/ariadne/ChangeLog
index f4907b8c3a02..2c5bc73dc8ea 100644
--- a/sci-biology/ariadne/ChangeLog
+++ b/sci-biology/ariadne/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-biology/ariadne
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ariadne/ChangeLog,v 1.5 2006/01/21 17:26:17 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ariadne/ChangeLog,v 1.6 2006/09/12 21:27:20 ribosome Exp $
+
+ 12 Sep 2006; Olivier Fisette <ribosome@gentoo.org>
+ +files/ariadne-1.3-gcc4.patch, ariadne-1.3-r1.ebuild:
+ Fixed a GCC4 compilation issue (see bug #138833).
21 Jan 2006; Olivier Fisette <ribosome@gentoo.org> ariadne-1.3-r1.ebuild:
Ebuild clean-up.
diff --git a/sci-biology/ariadne/ariadne-1.3-r1.ebuild b/sci-biology/ariadne/ariadne-1.3-r1.ebuild
index e5059aeb7cad..636231646eff 100644
--- a/sci-biology/ariadne/ariadne-1.3-r1.ebuild
+++ b/sci-biology/ariadne/ariadne-1.3-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/ariadne/ariadne-1.3-r1.ebuild,v 1.4 2006/01/21 17:26:17 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ariadne/ariadne-1.3-r1.ebuild,v 1.5 2006/09/12 21:27:20 ribosome Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="Protein sequences and profiles comparison"
LICENSE="as-is"
@@ -20,6 +20,7 @@ S="${WORKDIR}/SRC-${PV}"
src_unpack(){
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc4.patch
sed -e "s/CC = gcc/CC = $(tc-getCC)/" \
-e "s/OPTIMISE = -O2/OPTIMISE = ${CFLAGS}/" \
-i Makefile || die
diff --git a/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch b/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch
new file mode 100644
index 000000000000..0192efd4db5e
--- /dev/null
+++ b/sci-biology/ariadne/files/ariadne-1.3-gcc4.patch
@@ -0,0 +1,10 @@
+--- cl.c.old 2006-09-12 17:13:02.000000000 -0400
++++ cl.c 2006-09-12 17:13:34.000000000 -0400
+@@ -658,6 +658,7 @@
+ fclose(fp);
+ if ( ! stat( filename, &buf ) )
+ {
++ char *ctime(), *t;
+ sprintf( date, "%s", ctime(&buf.st_mtime) );
+ t = date;
+ while ( *t )
diff --git a/sci-biology/ariadne/files/digest-ariadne-1.3-r1 b/sci-biology/ariadne/files/digest-ariadne-1.3-r1
index a973c1ce1d54..a3d3b57a8e69 100644
--- a/sci-biology/ariadne/files/digest-ariadne-1.3-r1
+++ b/sci-biology/ariadne/files/digest-ariadne-1.3-r1
@@ -1 +1,3 @@
MD5 240dc8b278a02b0fcdf56cd186d9b0ec ariadne-1.3.tar.Z 69427
+RMD160 084b40d38346f2cd5e99a9c49aeee303fe591805 ariadne-1.3.tar.Z 69427
+SHA256 8b6b0acb6e8d02b1303d94b20906bf2bf1dee3de4eceeb1b927cfba7a96fd00d ariadne-1.3.tar.Z 69427