diff options
author | Hanno Böck <hanno@gentoo.org> | 2010-01-16 18:07:09 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2010-01-16 18:07:09 +0000 |
commit | eec93ae8ffb1459adfa9b2a5344bff777b0e529a (patch) | |
tree | 0fee34854e8df06fc1fd06266fa676f847e16918 /games-emulation/desmume | |
parent | Overdue version bump, made possible since we can now easily patch gems. Conve... (diff) | |
download | gentoo-2-eec93ae8ffb1459adfa9b2a5344bff777b0e529a.tar.gz gentoo-2-eec93ae8ffb1459adfa9b2a5344bff777b0e529a.tar.bz2 gentoo-2-eec93ae8ffb1459adfa9b2a5344bff777b0e529a.zip |
build fix for desmume
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/desmume')
-rw-r--r-- | games-emulation/desmume/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/desmume/desmume-0.9.5.ebuild | 8 | ||||
-rw-r--r-- | games-emulation/desmume/files/desmume-0.9.5-sse2-fix.diff | 11 |
3 files changed, 23 insertions, 4 deletions
diff --git a/games-emulation/desmume/ChangeLog b/games-emulation/desmume/ChangeLog index 88e7f0c77c89..0d4c9bceffff 100644 --- a/games-emulation/desmume/ChangeLog +++ b/games-emulation/desmume/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/desmume -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/ChangeLog,v 1.16 2009/12/22 01:46:04 hanno Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/ChangeLog,v 1.17 2010/01/16 18:07:07 hanno Exp $ + + 16 Jan 2010; Hanno Boeck <hanno@gentoo.org> desmume-0.9.5.ebuild, + +files/desmume-0.9.5-sse2-fix.diff: + Build fix from upstream, see #298403. *desmume-0.9.5 (21 Dec 2009) diff --git a/games-emulation/desmume/desmume-0.9.5.ebuild b/games-emulation/desmume/desmume-0.9.5.ebuild index a6e5ce2829e8..609ba72a89d0 100644 --- a/games-emulation/desmume/desmume-0.9.5.ebuild +++ b/games-emulation/desmume/desmume-0.9.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/desmume-0.9.5.ebuild,v 1.1 2009/12/22 01:46:04 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/desmume-0.9.5.ebuild,v 1.2 2010/01/16 18:07:07 hanno Exp $ EAPI="2" @@ -25,6 +25,10 @@ DEPEND=">=x11-libs/gtk+-2.8.0 x11-libs/agg" RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}/${P}-sse2-fix.diff" +} + src_configure() { egamesconf --datadir=/usr/share || die "egamesconf failed" } diff --git a/games-emulation/desmume/files/desmume-0.9.5-sse2-fix.diff b/games-emulation/desmume/files/desmume-0.9.5-sse2-fix.diff new file mode 100644 index 000000000000..1f9d48ad857d --- /dev/null +++ b/games-emulation/desmume/files/desmume-0.9.5-sse2-fix.diff @@ -0,0 +1,11 @@ +--- trunk/desmume/src/matrix.h 2009/12/12 10:34:06 3145 ++++ trunk/desmume/src/matrix.h 2009/12/12 16:30:55 3146 +@@ -115,7 +115,7 @@ + + //switched SSE2 functions + //------------- +-#ifdef ENABLE_SSE ++#ifdef ENABLE_SSE2 + + template<int NUM> + FORCEINLINE void memset_u16_le(void* dst, u16 val) |