diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 14:21:54 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 14:21:54 +0000 |
commit | c309f19fba3bcc9377ffc4d8546a5fa2bae58213 (patch) | |
tree | 12fb8c6f0cfa612cc880b61d746d48065731937a /sci-biology/piler | |
parent | Masking dev-db/sqsh for QA removal. (diff) | |
download | historical-c309f19fba3bcc9377ffc4d8546a5fa2bae58213.tar.gz historical-c309f19fba3bcc9377ffc4d8546a5fa2bae58213.tar.bz2 historical-c309f19fba3bcc9377ffc4d8546a5fa2bae58213.zip |
Fix building with GLIBC 2.10+ wrt #279628.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/piler')
-rw-r--r-- | sci-biology/piler/ChangeLog | 6 | ||||
-rw-r--r-- | sci-biology/piler/Manifest | 5 | ||||
-rw-r--r-- | sci-biology/piler/files/piler-1.0-glibc-2.10.patch | 12 | ||||
-rw-r--r-- | sci-biology/piler/piler-1.0.ebuild | 10 |
4 files changed, 27 insertions, 6 deletions
diff --git a/sci-biology/piler/ChangeLog b/sci-biology/piler/ChangeLog index febfd2d46abc..e3c0a686565e 100644 --- a/sci-biology/piler/ChangeLog +++ b/sci-biology/piler/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-biology/piler # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/piler/ChangeLog,v 1.1 2009/07/25 18:15:30 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/piler/ChangeLog,v 1.2 2009/08/09 14:21:54 ssuominen Exp $ + + 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> piler-1.0.ebuild, + +files/piler-1.0-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #279628. *piler-1.0 (25 Jul 2009) diff --git a/sci-biology/piler/Manifest b/sci-biology/piler/Manifest index cb9de482830f..6e3aec32bd33 100644 --- a/sci-biology/piler/Manifest +++ b/sci-biology/piler/Manifest @@ -1,4 +1,5 @@ +AUX piler-1.0-glibc-2.10.patch 386 RMD160 ed682bfbc1ad51b7f35d8c25a9e21328f6644b3e SHA1 d5692b255d8715991ac4d9aa1b00ea6396c3a706 SHA256 46710d6d09df3eb0cd138f70df8cc522b4c7ea4cdd94ad5153800bdfb0019dfb DIST piler-1.0.tar.gz 35220 RMD160 552b97bd14fef580c5d928762f1bf267ce231d3c SHA1 61087459b06dfe99c622bf5a21d3130ec63346f6 SHA256 2940530c0afd7e49ca6e9cd8a1e3fd9890d87c71f9c19a42b1e468add83ccc69 -EBUILD piler-1.0.ebuild 727 RMD160 897da79e2ae2e759182cf93785c7874c4de40b08 SHA1 eb38d1814e32adaeb1b56bc9f3488f52eb41ad3a SHA256 03dec30b8cf16cd560e054c97397897d4e345f2abf8e379be96b6403dbc6d8af -MISC ChangeLog 458 RMD160 d4cf689d40ea98e94bbb3505e451b0e8feb01060 SHA1 8bc83325835a5f2e4fb81965f80463696f947aa8 SHA256 ec332b64532e3174d1ad73d5d2c6bafc05a234d0a4a7847003f95c35b42677e4 +EBUILD piler-1.0.ebuild 798 RMD160 92516dc7ff9944eda3f5b787b1894b66d9b72682 SHA1 c837bfdfb6dacc6ced70315ffc52acbe1aa7bdb3 SHA256 026d6fdfab051e9e63945a6cd5a0d67e1a9488d9aa0d60fc2a0450cb4d44bc4f +MISC ChangeLog 616 RMD160 0d488008f4be76031a212ffc5067ae78eb9ff6d9 SHA1 009698e589e3d75dcacb5101003bc85eac19e23d SHA256 d21dc81158a05c720c29c03222154498a5cdb194ef3a3e5c861e3b5aca19a671 MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110 diff --git a/sci-biology/piler/files/piler-1.0-glibc-2.10.patch b/sci-biology/piler/files/piler-1.0-glibc-2.10.patch new file mode 100644 index 000000000000..4c7f124c5e3d --- /dev/null +++ b/sci-biology/piler/files/piler-1.0-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur piler.orig/gff.cpp piler/gff.cpp +--- piler.orig/gff.cpp 2004-12-18 01:25:29.000000000 +0200 ++++ piler/gff.cpp 2009-08-09 17:22:33.000000000 +0300 +@@ -70,7 +70,7 @@ + const char *Attrs = Fields[8];
+
+ // Truncate attrs if comment found
+- char *Pound = strchr(Attrs, '#');
++ char *Pound = const_cast <char*> (strchr(Attrs, '#'));
+ if (0 != Pound)
+ *Pound = 0;
+
diff --git a/sci-biology/piler/piler-1.0.ebuild b/sci-biology/piler/piler-1.0.ebuild index 674cd82f6af9..1d392d586281 100644 --- a/sci-biology/piler/piler-1.0.ebuild +++ b/sci-biology/piler/piler-1.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/piler/piler-1.0.ebuild,v 1.1 2009/07/25 18:15:30 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/piler/piler-1.0.ebuild,v 1.2 2009/08/09 14:21:54 ssuominen Exp $ EAPI="2" -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="Analysis of repetitive DNA found in genome sequences" HOMEPAGE="http://www.drive5.com/piler/" @@ -21,7 +21,11 @@ RDEPEND="|| ( sci-biology/muscle sci-libs/libmuscle ) sci-biology/pals" -S="${WORKDIR}" +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-glibc-2.10.patch +} src_compile() { emake GPP="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" || die |