summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-01 04:25:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-01 04:25:34 +0000
commitb2afd911f376dd913222bc112e2f28527bf67934 (patch)
treea2456608f10f825ef85d79aaa6294412a2c0aea0 /games-engines/scummvm/files
parentStable on amd64. (Manifest recommit) (diff)
downloadgentoo-2-b2afd911f376dd913222bc112e2f28527bf67934.tar.gz
gentoo-2-b2afd911f376dd913222bc112e2f28527bf67934.tar.bz2
gentoo-2-b2afd911f376dd913222bc112e2f28527bf67934.zip
Add gcc-3.4 patch #49304 by Robert Führicht.
Diffstat (limited to 'games-engines/scummvm/files')
-rw-r--r--games-engines/scummvm/files/0.6.0-gcc34.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/games-engines/scummvm/files/0.6.0-gcc34.patch b/games-engines/scummvm/files/0.6.0-gcc34.patch
new file mode 100644
index 000000000000..e0c07cf2ade3
--- /dev/null
+++ b/games-engines/scummvm/files/0.6.0-gcc34.patch
@@ -0,0 +1,53 @@
+diff -Naur scummvm-0.6.0.orig/base/main.cpp scummvm-0.6.0/base/main.cpp
+--- scummvm-0.6.0.orig/base/main.cpp 2004-04-28 19:48:07.199890232 +0200
++++ scummvm-0.6.0/base/main.cpp 2004-04-28 19:51:21.806305560 +0200
+@@ -262,7 +262,7 @@
+
+ // Free up memory
+ delete engine;
+-};
++}
+
+ #ifndef _WIN32_WCE
+ int main(int argc, char *argv[]) {
+diff -Naur scummvm-0.6.0.orig/scumm/actor.cpp scummvm-0.6.0/scumm/actor.cpp
+--- scummvm-0.6.0.orig/scumm/actor.cpp 2004-04-28 19:48:07.272879136 +0200
++++ scummvm-0.6.0/scumm/actor.cpp 2004-04-28 19:48:55.117605632 +0200
+@@ -789,14 +789,14 @@
+ return _V1_talkingActor;
+ else
+ return VAR(VAR_TALK_ACTOR);
+-};
++}
+
+ void ScummEngine::talkingActor(int value) {
+ if (_gameId == GID_MANIAC && _version == 1)
+ _V1_talkingActor = value;
+ else
+ VAR(VAR_TALK_ACTOR) = value;
+-};
++}
+
+ void ScummEngine::showActors() {
+ int i;
+diff -Naur scummvm-0.6.0.orig/scumm/debugger.cpp scummvm-0.6.0/scumm/debugger.cpp
+--- scummvm-0.6.0.orig/scumm/debugger.cpp 2004-04-28 19:48:07.256881568 +0200
++++ scummvm-0.6.0/scumm/debugger.cpp 2004-04-28 19:49:32.345946064 +0200
+@@ -57,7 +57,7 @@
+ va_end(va);
+
+ debug(buf);
+-};
++}
+
+ ScummDebugger::ScummDebugger(ScummEngine *s)
+ : Common::Debugger<ScummDebugger>() {
+@@ -592,7 +592,7 @@
+
+ DebugPrintf("Unknown flag. Type 'Debug ?' for syntax\n");
+ return true;
+-};
++}
+
+ bool ScummDebugger::Cmd_DebugLevel(int argc, const char **argv) {
+ if (argc == 1) {