diff options
author | mezz <mezz@FreeBSD.org> | 2004-08-03 15:02:40 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-08-03 15:02:40 +0800 |
commit | 0f670a57dc534e402b017cbdd076c32b42c77186 (patch) | |
tree | c5184ef535afdf2ba6dd217392b7e1643c99ead9 | |
parent | 4b001b731ba17e8b1812b08a5f7a7eabd70895c2 (diff) | |
download | freebsd-ports-gnome-0f670a57dc534e402b017cbdd076c32b42c77186.tar.gz freebsd-ports-gnome-0f670a57dc534e402b017cbdd076c32b42c77186.tar.zst freebsd-ports-gnome-0f670a57dc534e402b017cbdd076c32b42c77186.zip |
Fix the build with GCC 3.4.x.
PR: ports/69904
Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
-rw-r--r-- | emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc | 11 |
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; |