summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2006-03-19 11:22:49 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2006-03-19 11:22:49 +0000
commit9d3fb7a2072e0b1b4e833c39b63d70e19b13cf2e (patch)
tree059c1039cf79e56c2107b716cfa68b4e522a74af /games-emulation/dosbox
parentStable on x86, see bug #126773. (diff)
downloadhistorical-9d3fb7a2072e0b1b4e833c39b63d70e19b13cf2e.tar.gz
historical-9d3fb7a2072e0b1b4e833c39b63d70e19b13cf2e.tar.bz2
historical-9d3fb7a2072e0b1b4e833c39b63d70e19b13cf2e.zip
Fixed compilation with gcc4 and on amd64. Closes bug #114949.
Package-Manager: portage-2.1_pre6-r3
Diffstat (limited to 'games-emulation/dosbox')
-rw-r--r--games-emulation/dosbox/ChangeLog8
-rw-r--r--games-emulation/dosbox/Manifest35
-rw-r--r--games-emulation/dosbox/dosbox-0.63.ebuild5
-rw-r--r--games-emulation/dosbox/files/0.63-gcc41.patch43
-rw-r--r--games-emulation/dosbox/files/digest-dosbox-0.632
5 files changed, 85 insertions, 8 deletions
diff --git a/games-emulation/dosbox/ChangeLog b/games-emulation/dosbox/ChangeLog
index 710fb411daff..d2e8cfbb3f75 100644
--- a/games-emulation/dosbox/ChangeLog
+++ b/games-emulation/dosbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/dosbox
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.20 2005/07/11 16:25:51 mr_bones_ Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.21 2006/03/19 11:22:49 eradicator Exp $
+
+ 19 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/0.63-gcc41.patch, dosbox-0.63.ebuild:
+ Fixed compilation with gcc4 and on amd64. Closes bug #114949.
11 Jul 2005; Michael Sterrett <mr_bones_@gentoo.org> dosbox-0.63.ebuild:
amd64 patch is unconditional upstream so apply it for everyone.
diff --git a/games-emulation/dosbox/Manifest b/games-emulation/dosbox/Manifest
index 6639e6486316..32e97eea7b67 100644
--- a/games-emulation/dosbox/Manifest
+++ b/games-emulation/dosbox/Manifest
@@ -1,7 +1,34 @@
-MD5 95e2b5bfd7767aeae061c77f7e1a055e metadata.xml 221
-MD5 c4f7ddfbcebee2b679852dae7d92f834 dosbox-0.63.ebuild 1206
-MD5 6ce22d8f331db912f0ea828bf213d59b ChangeLog 2814
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f36b6298d7faaac5818d8701087d9869 ChangeLog 2985
+RMD160 5478e62264a617a751d7c5a1ccdab3b867ac2c83 ChangeLog 2985
+SHA256 948d713b6dea2591735637e25fdad81d5e3bd57b419c5aed527f850331ef89e8 ChangeLog 2985
MD5 cedd50d841d0e28ecb75c9552d0c291f dosbox-0.58.ebuild 684
+RMD160 e3908ee963a834174a695dcbd831f0ea081ddbc4 dosbox-0.58.ebuild 684
+SHA256 65bc896f9f2d11ab3b41746ded51d8190d3440e5d73d54e161f5d034d796eeac dosbox-0.58.ebuild 684
+MD5 56324c06bca6755c048b417272726804 dosbox-0.63.ebuild 1247
+RMD160 ff225abee6fd4a42e387ba5a539c1c7b83d4d344 dosbox-0.63.ebuild 1247
+SHA256 dd131825fa7c423a5ad28eb5140a1db7d4715cbc1ff23070e23a6fc95d138fe9 dosbox-0.63.ebuild 1247
MD5 b656b366678b3dc52f1083e339891186 files/0.63-64bit.patch 446
+RMD160 e11d4fcb30601a718325a4be4f6609565ae59eb6 files/0.63-64bit.patch 446
+SHA256 05c782195b8fccaa6a0424cfc18d85622b768cef97658d358675464a23f201c7 files/0.63-64bit.patch 446
+MD5 ee22c9cd1b19203b5cfb53ffa5848e71 files/0.63-gcc41.patch 1949
+RMD160 0a36ef2395b82e6569d96d3530d906b8c431f2ec files/0.63-gcc41.patch 1949
+SHA256 46c3a3fc3a80d29ffda51a8335ff05f7cff0e4fb175f9844d48fd74a55c62f38 files/0.63-gcc41.patch 1949
MD5 709911d69c3fb90908508f4c3116a07f files/digest-dosbox-0.58 63
-MD5 42f19bd18cae0f81773fbe342847a147 files/digest-dosbox-0.63 63
+RMD160 f40d9e3cf003b9b0b2fe4467f08c69bd4c389994 files/digest-dosbox-0.58 63
+SHA256 bca825d495cb38da885e4b73c898f2107ed335c1d9a9b2ca5d87e74feabae686 files/digest-dosbox-0.58 63
+MD5 cb8caec3e4057d57d48ac03ba37d1a4c files/digest-dosbox-0.63 235
+RMD160 459df45254a27a26edb9e3c307cc386792a1254a files/digest-dosbox-0.63 235
+SHA256 de3cbae3b24af61bc1aa54d79f255cbba290cb477c4797b3fc7600e7c51214ac files/digest-dosbox-0.63 235
+MD5 95e2b5bfd7767aeae061c77f7e1a055e metadata.xml 221
+RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 metadata.xml 221
+SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811 metadata.xml 221
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEHT+0OpjtAl+gMRURAun9AJ4/vqCZRssvcx2nY7zGN4IQhI6qTQCgjnlZ
+Lhq11XbJcy9vZ4rkxHP0J+k=
+=FOtl
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/dosbox/dosbox-0.63.ebuild b/games-emulation/dosbox/dosbox-0.63.ebuild
index 8887dce3826a..6f3b19e32d42 100644
--- a/games-emulation/dosbox/dosbox-0.63.ebuild
+++ b/games-emulation/dosbox/dosbox-0.63.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.63.ebuild,v 1.4 2005/07/11 16:25:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.63.ebuild,v 1.5 2006/03/19 11:22:49 eradicator Exp $
inherit eutils games
@@ -27,6 +27,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PV}-64bit.patch
+ epatch "${FILESDIR}"/${PV}-gcc41.patch
}
src_compile() {
diff --git a/games-emulation/dosbox/files/0.63-gcc41.patch b/games-emulation/dosbox/files/0.63-gcc41.patch
new file mode 100644
index 000000000000..442a1b540daa
--- /dev/null
+++ b/games-emulation/dosbox/files/0.63-gcc41.patch
@@ -0,0 +1,43 @@
+diff -Naurp dosbox-0.63.orig/include/programs.h dosbox-0.63/include/programs.h
+--- dosbox-0.63.orig/include/programs.h 2004-08-04 02:12:51.000000000 -0700
++++ dosbox-0.63/include/programs.h 2006-03-19 03:09:29.000000000 -0800
+@@ -40,7 +40,7 @@ public:
+ CommandLine * cmd;
+ DOS_PSP * psp;
+ virtual void Run(void)=0;
+- bool Program::GetEnvStr(const char * entry,std::string & result);
++ bool GetEnvStr(const char * entry,std::string & result);
+ bool GetEnvNum(Bitu num,std::string & result);
+ Bitu GetEnvCount(void);
+ bool SetEnv(const char * entry,const char * new_string);
+diff -Naurp dosbox-0.63.orig/src/dos/drive_cache.cpp dosbox-0.63/src/dos/drive_cache.cpp
+--- dosbox-0.63.orig/src/dos/drive_cache.cpp 2004-11-13 04:08:43.000000000 -0800
++++ dosbox-0.63/src/dos/drive_cache.cpp 2006-03-19 03:13:30.000000000 -0800
+@@ -317,12 +317,12 @@ int DOS_Drive_Cache::CompareShortname(co
+ {
+ char* cpos = strchr(shortName,'~');
+ if (cpos) {
+- Bits compareCount1 = (int)cpos - (int)shortName;
++ Bits compareCount1 = cpos - shortName;
+ char* endPos = strchr(cpos,'.');
+- Bitu numberSize = endPos ? int(endPos)-int(cpos) : strlen(cpos);
++ Bitu numberSize = endPos ? endPos - cpos : strlen(cpos);
+
+ char* lpos = strchr(compareName,'.');
+- Bits compareCount2 = lpos ? int(lpos)-int(compareName) : strlen(compareName);
++ Bits compareCount2 = lpos ? lpos - compareName : strlen(compareName);
+ if (compareCount2>8) compareCount2 = 8;
+
+ compareCount2 -= numberSize;
+diff -Naurp dosbox-0.63.orig/src/gui/midi_alsa.h dosbox-0.63/src/gui/midi_alsa.h
+--- dosbox-0.63.orig/src/gui/midi_alsa.h 2004-08-04 02:12:54.000000000 -0700
++++ dosbox-0.63/src/gui/midi_alsa.h 2006-03-19 03:14:59.000000000 -0800
+@@ -112,7 +112,7 @@ public:
+ }
+ break;
+ default:
+- LOG(LOG_MISC,LOG_WARN)("ALSA:Unknown Command: %08x", (int)msg);
++ LOG(LOG_MISC,LOG_WARN)("ALSA:Unknown Command: %08x", (const char *)msg);
+ send_event(1);
+ break;
+ }
diff --git a/games-emulation/dosbox/files/digest-dosbox-0.63 b/games-emulation/dosbox/files/digest-dosbox-0.63
index 4721bbf74ae5..1cf489b1075c 100644
--- a/games-emulation/dosbox/files/digest-dosbox-0.63
+++ b/games-emulation/dosbox/files/digest-dosbox-0.63
@@ -1 +1,3 @@
MD5 629413e41224ae9cdd115fdafd55cbdc dosbox-0.63.tar.gz 648762
+RMD160 c6c6e5206f3f3671652405aafbf244cd90742ef9 dosbox-0.63.tar.gz 648762
+SHA256 f4eeee90f076d891034faf1268b6352b8df9cb262b787384ed4386cf6ea4faa7 dosbox-0.63.tar.gz 648762