ports/69904: [ maintainer ] emulators/pearpc: fix build with gcc 3.4
Roman Bogorodskiy
bogorodskiy at inbox.ru
Mon Aug 2 13:30:33 UTC 2004
>Number: 69904
>Category: ports
>Synopsis: [ maintainer ] emulators/pearpc: fix build with gcc 3.4
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 02 13:30:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #9: Sat Jul 31 09:32:50 MSD 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/NOV i386
>Description:
Fix build with gcc 3.4.
>How-To-Repeat:
>Fix:
diff -ruN pearpc.orig/files/patch-src-cpu_generic-ppc_cpu.cc pearpc/files/patch-src-cpu_generic-ppc_cpu.cc
--- pearpc.orig/files/patch-src-cpu_generic-ppc_cpu.cc Thu Jan 1 03:00:00 1970
+++ pearpc/files/patch-src-cpu_generic-ppc_cpu.cc Sun Aug 1 19:49:05 2004
@@ -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;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list