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 | c4255c1ea2bab4a19af54be449978b1b02cb6d9c (patch) | |
tree | af3ec572b7ad8e137a7d93259fc530bb148bbcff /emulators | |
parent | 3c4628426aaf8c71ed6eb318bc4cf586a3232f24 (diff) | |
download | pkgsrc-c4255c1ea2bab4a19af54be449978b1b02cb6d9c.tar.gz |
Fix build with clang.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vba/distinfo | 4 | ||||
-rw-r--r-- | emulators/vba/patches/patch-af | 31 |
2 files changed, 31 insertions, 4 deletions
diff --git a/emulators/vba/distinfo b/emulators/vba/distinfo index f73551443a3..93df155a74a 100644 --- a/emulators/vba/distinfo +++ b/emulators/vba/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2011/01/14 11:40:55 wiz Exp $ +$NetBSD: distinfo,v 1.6 2012/03/29 20:32:34 wiz Exp $ SHA1 (VisualBoyAdvance-src-1.7.2.tar.gz) = 04d82406079563fd17cda07f72488185e9152f51 RMD160 (VisualBoyAdvance-src-1.7.2.tar.gz) = 44f94a4f270f2cda25879681c52892f6978caf99 @@ -8,5 +8,5 @@ SHA1 (patch-ab) = 55e1084d1cc48cff28b98a7fa68213d97f1f3d7e SHA1 (patch-ac) = 33158335dc12f335471d10962b4552082b589d25 SHA1 (patch-ad) = b61c4053bbed582db5df2039c20b436e1d9e1ff1 SHA1 (patch-ae) = b7e08365abd77b5c0f3473b4ce091b747298dfc8 -SHA1 (patch-af) = 0b194e624acb083942bd8f9f1a56c34bdd97d9e4 +SHA1 (patch-af) = a3db22d606c34388f20ee29d9e8a1259346d105a SHA1 (patch-ag) = bd304939c7f104e6114a5078f4347b37761a1ede 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); |