Bug 69949

Summary: Fix GCC3.4.2-related problems for games/scummvm on -CURRENT
Product: Ports & Packages Reporter: Andreas Braml <a.strich.b>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-aa
none
patch-ac none

Description Andreas Braml 2004-08-03 15:40:24 UTC
	scummvm 0.6.0 fails to compile with the new GCC of -CURRENT;
	can be fixed by substitution }; --> } in the acoording places

Fix: I could fix the problem with the following patches in the files-directory
of the port:

--- scumm/debugger.cpp.orig	Tue Aug  3 15:55:47 2004
+++ scumm/debugger.cpp	Tue Aug  3 15:56:18 2004
@@ -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) {
--- patch-ab ends here ---
How-To-Repeat: 	simply enter "make" on a recent -CURRENT machine ;)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-03 23:27:37 UTC
State Changed
From-To: open->closed

Spells casted, thank you!