diff options
3 files changed, 28 insertions, 8 deletions
diff --git a/x11-misc/lineak-defaultplugin/ChangeLog b/x11-misc/lineak-defaultplugin/ChangeLog index 33e17ac54806..905437b1c037 100644 --- a/x11-misc/lineak-defaultplugin/ChangeLog +++ b/x11-misc/lineak-defaultplugin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/lineak-defaultplugin -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/ChangeLog,v 1.23 2007/07/28 16:19:29 angelos Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/ChangeLog,v 1.24 2008/04/22 17:04:52 drac Exp $ + + 22 Apr 2008; Samuli Suominen <drac@gentoo.org> + +files/lineak-defaultplugin-0.9.0-gcc43.patch, + lineak-defaultplugin-0.9.0.ebuild: + Fix building with GCC 4.3, thanks to Peter Alfredsen wrt #218790. 28 Jul 2007; Christoph Mende <angelos@gentoo.org> lineak-defaultplugin-0.9.0.ebuild: diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch new file mode 100644 index 000000000000..1d12fce74f09 --- /dev/null +++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc43.patch @@ -0,0 +1,10 @@ +--- a/default_plugin/defaultplugin.cpp ++++ b/default_plugin/defaultplugin.cpp +@@ -35,6 +35,7 @@ + #include <iostream> + #include <sstream> + #include <stdlib.h> ++#include <cstring> + using namespace std; + using namespace lineak_core_functions; + diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild index f7d04c3bb790..fd67a293e46c 100644 --- a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild +++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild,v 1.4 2007/07/28 16:19:29 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0.ebuild,v 1.5 2008/04/22 17:04:52 drac Exp $ -inherit multilib +inherit eutils multilib MY_P=${P/.0/} @@ -15,10 +15,15 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="debug" -RDEPEND="=x11-misc/lineakd-${PV}*" -DEPEND="${RDEPEND}" +DEPEND="=x11-misc/lineakd-${PV}*" -S="${WORKDIR}"/${MY_P} +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} src_compile() { econf $(use_enable debug) |