Date: Mon, 02 Aug 2004 17:21:34 +0400 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69904: [ maintainer ] emulators/pearpc: fix build with gcc 3.4 Message-ID: <E1Brcks-000NPa-00.bogorodskiy-inbox-ru@mx1.mail.ru> Resent-Message-ID: <200408021330.i72DUOio039768@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Brcks-000NPa-00.bogorodskiy-inbox-ru>