diff options
author | wiz <wiz@pkgsrc.org> | 2012-03-29 20:32:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-03-29 20:32:34 +0000 |
commit | e683dbbff246340332446e9bdfefdae0fe1ec6d1 (patch) | |
tree | af3ec572b7ad8e137a7d93259fc530bb148bbcff /emulators/vba/patches | |
parent | bcdc14cfed1e11d1b89cd3891bd331b02b661aa7 (diff) | |
download | pkgsrc-e683dbbff246340332446e9bdfefdae0fe1ec6d1.tar.gz |
Fix build with clang.
Diffstat (limited to 'emulators/vba/patches')
-rw-r--r-- | emulators/vba/patches/patch-af | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/emulators/vba/patches/patch-af b/emulators/vba/patches/patch-af index d7fb1598a04..a393cb13744 100644 --- a/emulators/vba/patches/patch-af +++ b/emulators/vba/patches/patch-af @@ -1,6 +1,6 @@ -$NetBSD: patch-af,v 1.1 2007/02/16 01:52:20 wiz Exp $ +$NetBSD: patch-af,v 1.2 2012/03/29 20:32:34 wiz Exp $ ---- src/sdl/debugger.cpp.orig 2004-05-13 16:13:14.000000000 +0200 +--- src/sdl/debugger.cpp.orig 2004-05-13 14:13:14.000000000 +0000 +++ src/sdl/debugger.cpp @@ -950,9 +950,9 @@ void debuggerBreakOnWrite(u32 *mem, u32 { @@ -14,3 +14,30 @@ $NetBSD: patch-af,v 1.1 2007/02/16 01:52:20 wiz Exp $ if(size == 2) printf("Breakpoint (on write) address %08x old:%08x new:%08x\n", +@@ -1280,7 +1280,7 @@ void debuggerMemoryByte(int n, char **ar + if(n == 2) { + u32 addr = 0; + sscanf(args[1], "%x", &addr); +- for(int i = 0; i < 16; i++) { ++ for(int s = 0; s < 16; s++) { + int a = debuggerReadByte(addr); + int b = debuggerReadByte(addr+1); + int c = debuggerReadByte(addr+2); +@@ -1316,7 +1316,7 @@ void debuggerMemoryHalfWord(int n, char + u32 addr = 0; + sscanf(args[1], "%x", &addr); + addr = addr & 0xfffffffe; +- for(int i = 0; i < 16; i++) { ++ for(int s = 0; s < 16; s++) { + int a = debuggerReadByte(addr); + int b = debuggerReadByte(addr+1); + int c = debuggerReadByte(addr+2); +@@ -1352,7 +1352,7 @@ void debuggerMemory(int n, char **args) + u32 addr = 0; + sscanf(args[1], "%x", &addr); + addr = addr & 0xfffffffc; +- for(int i = 0; i < 16; i++) { ++ for(int s = 0; s < 16; s++) { + int a = debuggerReadByte(addr); + int b = debuggerReadByte(addr+1); + int c = debuggerReadByte(addr+2); |