summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-05-24 09:40:42 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-05-24 09:40:42 +0000
commit24fc7c41d04fb0d3058f846fadfd5b54d35290e3 (patch)
tree090b9fc20b3a8fed15ce4aeccf6f546d2a353728 /games-emulation/mednafen
parentTaking over from Mr. Maintainer-Needed (diff)
downloadhistorical-24fc7c41d04fb0d3058f846fadfd5b54d35290e3.tar.gz
historical-24fc7c41d04fb0d3058f846fadfd5b54d35290e3.tar.bz2
historical-24fc7c41d04fb0d3058f846fadfd5b54d35290e3.zip
Build with gcc-4.5 Bug #321009
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog6
-rw-r--r--games-emulation/mednafen/Manifest15
-rw-r--r--games-emulation/mednafen/files/mednafen-0.8.12-gcc45.patch28
-rw-r--r--games-emulation/mednafen/mednafen-0.8.12.ebuild3
4 files changed, 38 insertions, 14 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index 17a6ab7ea957..8cc36645b92b 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/mednafen
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.20 2010/05/23 19:55:46 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.21 2010/05/24 09:40:42 tupone Exp $
+
+ 24 May 2010; Tupone Alfredo <tupone@gentoo.org> mednafen-0.8.12.ebuild,
+ +files/mednafen-0.8.12-gcc45.patch:
+ Build with gcc-4.5 Bug #321009 by flameeyes@gentoo.org
23 May 2010; Pacho Ramos <pacho@gentoo.org> mednafen-0.8.12.ebuild:
stable amd64, bug 312535
diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index ebface06cfa4..5bb3a2914299 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX mednafen-0.8.12-gcc45.patch 1255 RMD160 c330c0ada9a4677ed18c4e2dfdad2ea3e8e3c85c SHA1 a14a61878ab7469592ddf8b7e14376bbdbb862d2 SHA256 861b58b235e69f0a046c9a0293c53110ed2700f5d30e8c45218f73e4ed94664a
DIST mednafen-0.8.C.tar.bz2 2479077 RMD160 0d37d11937f05b9633483139a817d72496a1ba43 SHA1 1ac99a1845e4d339c07072a78de287102db24c72 SHA256 cea632082120ea824755a54c49ce02252590782ed5faf537ff4548979e6b39a8
-EBUILD mednafen-0.8.12.ebuild 1511 RMD160 9e20619af858dfe343d3249df9070b28e5ecc6ac SHA1 dc2d6251f6e7c8eefacbbc1bd793f3574a388307 SHA256 e5901e50dcd80e89f3145745b2d62686dbfe9d93c14153c914a0c5f9ef90c70d
-MISC ChangeLog 2864 RMD160 31f9b340cfc6b7a4d8c71be5911bfc448f202986 SHA1 7c12e51d0a53163741fb90f68b8b7f707e1d1426 SHA256 dcda5e68cecb5fb370f7f3709161e126753c547e56649ad674a5acf10abab0ba
+EBUILD mednafen-0.8.12.ebuild 1551 RMD160 bc874ca9153a32314f004321513b983572650136 SHA1 de1ab7d1af17ceddf15747ee5972e89198e5989c SHA256 0477c47b9028ac458160f22896f9bfda34a2d13ff52d8d3851a0d968e4dac4fa
+MISC ChangeLog 3035 RMD160 68eade8c5e9328760c090eee6ffe99fc59dc7de6 SHA1 22971294e929615eaf4d5f5e45334793bba3ec30 SHA256 875b9db03d449194152eae6e4aa8982ec32df476dbbc29fefd6522a2efc0903b
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkv5iEgACgkQCaWpQKGI+9SaQgCfZlZhTcAmOUqNVzAlDhEI5hhg
-XQkAn24nJE1qcLM1Yk4iEeKpQP4eHSjJ
-=H+Jw
------END PGP SIGNATURE-----
diff --git a/games-emulation/mednafen/files/mednafen-0.8.12-gcc45.patch b/games-emulation/mednafen/files/mednafen-0.8.12-gcc45.patch
new file mode 100644
index 000000000000..eb513f77885e
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.8.12-gcc45.patch
@@ -0,0 +1,28 @@
+--- src/pce/adpcm.cpp.old 2010-05-24 11:12:19.000000000 +0200
++++ src/pce/adpcm.cpp 2010-05-24 11:12:40.000000000 +0200
+@@ -244,12 +244,12 @@
+ if(f >= 14)
+ {
+ int rolloff = (int)((((double)32087.5 / (16 - f)) / 2) * 0.70);
+- ADPCMSynth.treble_eq( blip_eq_t::blip_eq_t(-1000, rolloff, FSettings.SndRate));
++ ADPCMSynth.treble_eq( blip_eq_t(-1000, rolloff, FSettings.SndRate));
+ }
+ else
+ {
+ int rolloff = (int)((((double)32087.5 / (16 - f)) / 2) * 0.80);
+- ADPCMSynth.treble_eq( blip_eq_t::blip_eq_t(-1000, rolloff, FSettings.SndRate));
++ ADPCMSynth.treble_eq( blip_eq_t(-1000, rolloff, FSettings.SndRate));
+ }
+ }
+ }
+--- src/pcfx/soundbox.cpp.old 2010-05-24 11:15:20.000000000 +0200
++++ src/pcfx/soundbox.cpp 2010-05-24 11:15:36.000000000 +0200
+@@ -416,7 +416,7 @@
+ int rolloff = (int)((double)0.90 * 21477272 * 2 / 1365 / (1 << SampleFreq) ) / 2;
+ for(int ch = 0; ch < 2; ch++)
+ for(int lr = 0; lr < 2; lr++)
+- ADPCMSynth[ch][lr].treble_eq(blip_eq_t::blip_eq_t(-1000, rolloff, FSettings.SndRate));
++ ADPCMSynth[ch][lr].treble_eq(blip_eq_t(-1000, rolloff, FSettings.SndRate));
+ LSampleFreq = SampleFreq;
+ }
+ }
diff --git a/games-emulation/mednafen/mednafen-0.8.12.ebuild b/games-emulation/mednafen/mednafen-0.8.12.ebuild
index af3e21af49ac..74f57c380fe1 100644
--- a/games-emulation/mednafen/mednafen-0.8.12.ebuild
+++ b/games-emulation/mednafen/mednafen-0.8.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.8.12.ebuild,v 1.3 2010/05/23 19:55:46 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.8.12.ebuild,v 1.4 2010/05/24 09:40:42 tupone Exp $
EAPI=2
inherit autotools eutils games
@@ -39,6 +39,7 @@ src_prepare() {
-e '/-ffast-math/d' \
configure.ac \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-gcc45.patch
eautoreconf
}