summaryrefslogtreecommitdiff
path: root/emulators/pearpc
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-08-03 07:02:40 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-08-03 07:02:40 +0000
commitb167bd2f9eeb31642f32f35d781d3c715ac3442e (patch)
treedebdfaba2f856f6be69b7d9b128cf3d62199d382 /emulators/pearpc
parentUpdate to 1.14. (diff)
Fix the build with GCC 3.4.x.
PR: ports/69904 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=115328
Diffstat (limited to 'emulators/pearpc')
-rw-r--r--emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc b/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc
new file mode 100644
index 000000000000..26e6007ffb7e
--- /dev/null
+++ b/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc
@@ -0,0 +1,11 @@
+--- src/cpu_generic/ppc_cpu.cc.orig Sun Aug 1 19:42:05 2004
++++ src/cpu_generic/ppc_cpu.cc Thu May 6 02:48:30 2004
+@@ -108,7 +108,7 @@
+ ppc_debug_hook();
+ } else {
+ int ret;
++ if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, (byte *&)gCPU.physical_code_page))) {
+- if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, gCPU.physical_code_page))) {
+ if (ret == PPC_MMU_EXC) {
+ gCPU.pc = gCPU.npc;
+ continue;