diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-04-22 17:04:52 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-04-22 17:04:52 +0000 |
commit | a20275d6dc85166bda86d99443948d5e96ae241e (patch) | |
tree | 619f729d65312131d920a4f6c2c4b1cca2668a64 /x11-misc | |
parent | Stable on amd64; bug 217413 (diff) | |
download | gentoo-2-a20275d6dc85166bda86d99443948d5e96ae241e.tar.gz gentoo-2-a20275d6dc85166bda86d99443948d5e96ae241e.tar.bz2 gentoo-2-a20275d6dc85166bda86d99443948d5e96ae241e.zip |
Fix building with GCC 4.3, thanks to Peter Alfredsen wrt #218790.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'x11-misc')
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) |