diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-04-19 02:53:52 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-04-19 02:53:52 +0000 |
commit | ff2b1e53968ec20617590b0b9cba8c42294f61da (patch) | |
tree | 11624f9aa9793c47e180e2bc939542d85b9bff21 /dev-libs/libcoyotl | |
parent | Bump (diff) | |
download | gentoo-2-ff2b1e53968ec20617590b0b9cba8c42294f61da.tar.gz gentoo-2-ff2b1e53968ec20617590b0b9cba8c42294f61da.tar.bz2 gentoo-2-ff2b1e53968ec20617590b0b9cba8c42294f61da.zip |
Fix for newer gcc #465646
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/libcoyotl')
-rw-r--r-- | dev-libs/libcoyotl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch | 11 | ||||
-rw-r--r-- | dev-libs/libcoyotl/libcoyotl-3.1.0-r1.ebuild | 46 |
3 files changed, 65 insertions, 3 deletions
diff --git a/dev-libs/libcoyotl/ChangeLog b/dev-libs/libcoyotl/ChangeLog index 863912a8be90..3ec5c81f3917 100644 --- a/dev-libs/libcoyotl/ChangeLog +++ b/dev-libs/libcoyotl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libcoyotl -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcoyotl/ChangeLog,v 1.12 2011/01/09 18:50:21 flameeyes Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcoyotl/ChangeLog,v 1.13 2013/04/19 02:53:52 patrick Exp $ + +*libcoyotl-3.1.0-r1 (19 Apr 2013) + + 19 Apr 2013; Patrick Lauer <patrick@gentoo.org> +files/3.1.0-gcc-4.7.patch, + +libcoyotl-3.1.0-r1.ebuild: + Fix for newer gcc #465646 09 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> -libcoyotl-3.0.1.ebuild, libcoyotl-3.1.0.ebuild: @@ -45,4 +51,3 @@ 07 May 2004; Daniel Ahlberg <aliz@gentoo.org> libcoyotl-3.0.1.ebuild: Initial import. - diff --git a/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch new file mode 100644 index 000000000000..443cbe2a8657 --- /dev/null +++ b/dev-libs/libcoyotl/files/3.1.0-gcc-4.7.patch @@ -0,0 +1,11 @@ +--- libcoyotl/maze_renderer.cpp.ORIG 2005-10-10 06:48:30.000000000 +0200 ++++ libcoyotl/maze_renderer.cpp 2013-04-12 10:29:31.127689828 +0200 +@@ -36,6 +36,8 @@ + #include "maze_renderer.h" + using namespace libcoyotl; + ++#include <string.h> ++ + #include <stdexcept> + using namespace std; + diff --git a/dev-libs/libcoyotl/libcoyotl-3.1.0-r1.ebuild b/dev-libs/libcoyotl/libcoyotl-3.1.0-r1.ebuild new file mode 100644 index 000000000000..9bc97410a2ae --- /dev/null +++ b/dev-libs/libcoyotl/libcoyotl-3.1.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcoyotl/libcoyotl-3.1.0-r1.ebuild,v 1.1 2013/04/19 02:53:52 patrick Exp $ + +EAPI="5" + +inherit eutils autotools + +DESCRIPTION="A collection of portable C++ classes." +HOMEPAGE="http://www.coyotegulch.com/products/libcoyotl/" +SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +RDEPEND="media-libs/libpng" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}/${PV}-gcc-4.3.patch" || die + epatch "${FILESDIR}/${PV}-gcc-4.7.patch" || die + eautoreconf +} + +src_configure() { + ac_cv_prog_HAVE_DOXYGEN="false" econf || die "econf failed" +} + +src_compile() { + emake || die "emake failed" + + if use doc ; then + cd docs + doxygen libcoyotl.doxygen || die "generating docs failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README + if use doc ; then + dohtml docs/html/* || die + fi +} |