From c883e31e19d3968889a7e7ba35d5fafb77462711 Mon Sep 17 00:00:00 2001 From: Mark Loeser Date: Mon, 5 Sep 2005 21:41:17 +0000 Subject: Adding upstream patch to fix compilation with GCC4. Some slight changes were Package-Manager: portage-2.0.51.22-r2 --- games-emulation/openmsx/ChangeLog | 7 +- games-emulation/openmsx/Manifest | 21 +- .../openmsx/files/openmsx-0.5.2-gcc4.patch | 758 +++++++++++++++++++++ games-emulation/openmsx/openmsx-0.5.2.ebuild | 3 +- 4 files changed, 777 insertions(+), 12 deletions(-) create mode 100644 games-emulation/openmsx/files/openmsx-0.5.2-gcc4.patch (limited to 'games-emulation/openmsx') diff --git a/games-emulation/openmsx/ChangeLog b/games-emulation/openmsx/ChangeLog index c2f0ed625eda..bca99ad0b92e 100644 --- a/games-emulation/openmsx/ChangeLog +++ b/games-emulation/openmsx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/openmsx # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.14 2005/09/01 19:20:15 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/ChangeLog,v 1.15 2005/09/05 21:41:17 halcy0n Exp $ + + 05 Sep 2005; Mark Loeser + +files/openmsx-0.5.2-gcc4.patch, openmsx-0.5.2.ebuild: + Adding upstream patch to fix compilation with GCC4. Some slight changes were + made to the upstream patch, since it broken compilation with gcc-3.3. 01 Sep 2005; Gustavo Zacarias openmsx-0.5.1.ebuild, openmsx-0.5.2.ebuild: diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest index f1a51d1a4da8..826cda641769 100644 --- a/games-emulation/openmsx/Manifest +++ b/games-emulation/openmsx/Manifest @@ -1,24 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 21ab36385cf75118ea0d9e5259e1634a openmsx-0.3.4.ebuild 1860 -MD5 27c76241a3ac8b7d0d66da7b2866a1b3 openmsx-0.5.2.ebuild 1103 -MD5 350e6811a8f965165d2177b2221c4f70 openmsx-0.5.1.ebuild 1103 -MD5 c0b1dae951fcd6224efdfbaad38aa077 ChangeLog 2156 +MD5 aac13020cd82ac749899909c12745986 ChangeLog 2413 MD5 7f1f3c0172523729641ba9bc11dcbe55 metadata.xml 248 +MD5 21ab36385cf75118ea0d9e5259e1634a openmsx-0.3.4.ebuild 1860 MD5 b2ddd92edbc173c71a7a26502da80535 openmsx-0.4.0.ebuild 1096 +MD5 350e6811a8f965165d2177b2221c4f70 openmsx-0.5.1.ebuild 1103 +MD5 c684b1c6e6f6fee79a81e2d5ba65203c openmsx-0.5.2.ebuild 1140 MD5 c9145ee916ff637d0bb770affed4df4d files/0.5.1-custom.mk.patch 793 -MD5 7e488066115ef9f2e653d6260cd2499b files/openmsx-0.4.0-custom.mk.patch 377 +MD5 c9145ee916ff637d0bb770affed4df4d files/0.5.2-custom.mk.patch 793 MD5 04f5dc7ba36939e792262356a7558ac1 files/digest-openmsx-0.3.4 66 MD5 b55f13765241896c1c13a29faba65874 files/digest-openmsx-0.4.0 65 MD5 7ccfd4ca66e1508cc53df4ef7aa7ffe0 files/digest-openmsx-0.5.1 66 MD5 91653dad0231dd7e9a7e3d6e4ec5cd99 files/digest-openmsx-0.5.2 66 +MD5 7e488066115ef9f2e653d6260cd2499b files/openmsx-0.4.0-custom.mk.patch 377 MD5 2aa177e70143c6086066c46f58217c69 files/openmsx-0.4.0-symlinking.patch 772 -MD5 c9145ee916ff637d0bb770affed4df4d files/0.5.2-custom.mk.patch 793 +MD5 10087388eb3cb770a95f8adb6191333b files/openmsx-0.5.2-gcc4.patch 19379 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDF1SRKRy60XGEcJIRArjHAJ9c8paDZKbAM6PhpQ2/GLjCoVOSPgCfSsrP -or8okx7afPUfgtkFkZjFmuQ= -=6VXF +iD8DBQFDHLuKCRZPokWLroQRAm3uAKDdqzspaVdm7weCiKoA0QXGJ+McJgCg0IOU +iN1HQt/AvoEhPKyCtXGuKSk= +=YqXl -----END PGP SIGNATURE----- diff --git a/games-emulation/openmsx/files/openmsx-0.5.2-gcc4.patch b/games-emulation/openmsx/files/openmsx-0.5.2-gcc4.patch new file mode 100644 index 000000000000..f217f744d204 --- /dev/null +++ b/games-emulation/openmsx/files/openmsx-0.5.2-gcc4.patch @@ -0,0 +1,758 @@ +diff -ur openmsx-0.5.2-orig/src/sound/Y8950.cc openmsx-0.5.2/src/sound/Y8950.cc +--- openmsx-0.5.2-orig/src/sound/Y8950.cc 2005-09-03 22:39:10.000000000 -0400 ++++ openmsx-0.5.2/src/sound/Y8950.cc 2005-09-03 22:31:27.000000000 -0400 +@@ -18,6 +18,22 @@ + + namespace openmsx { + ++static const double PI = 3.14159265358979; ++static const double EG_STEP = 0.1875; ++static const double SL_STEP = 3.0; ++static const double TL_STEP = 0.75; ++static const double DB_STEP = 0.1875; ++ ++// PM speed(Hz) and depth(cent) ++static const double PM_SPEED = 6.4; ++static const double PM_DEPTH = 13.75 / 2; ++static const double PM_DEPTH2 = 13.75; ++ ++// AM speed(Hz) and depth(dB) ++static const double AM_SPEED = 3.7; ++static const double AM_DEPTH = 1.0; ++static const double AM_DEPTH2 = 4.8; ++ + short Y8950::dB2LinTab[(2*DB_MUTE)*2]; + int Y8950::Slot::sintable[PG_WIDTH]; + int Y8950::Slot::tllTable[16][8][1<