From bogorodskiy@inbox.ru  Sat Aug 14 04:04:03 2004
Return-Path: <bogorodskiy@inbox.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B863816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Aug 2004 04:04:03 +0000 (GMT)
Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D959243D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Aug 2004 04:04:02 +0000 (GMT)
	(envelope-from bogorodskiy@inbox.ru)
Received: from [194.186.150.186] (port=50371 helo=inbox.ru)
	by mx1.mail.ru with esmtp 
	id 1Bvplw-000CGQ-00
	for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Aug 2004 08:04:01 +0400
Message-Id: <E1Bvplw-000CGQ-00.bogorodskiy-inbox-ru@mx1.mail.ru>
Date: Sat, 14 Aug 2004 08:04:01 +0400
From: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Reply-To: Roman Bogorodskiy <bogorodskiy@inbox.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [ maintainer ] emulators/pearpc: update to 0.3.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70438
>Category:       ports
>Synopsis:       [ maintainer ] emulators/pearpc: update to 0.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 14 04:10:28 GMT 2004
>Closed-Date:    Thu Aug 19 19:56:25 GMT 2004
>Last-Modified:  Thu Aug 19 19:56:25 GMT 2004
>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 #14: Tue Aug 10 16:04:36 MSD 2004 root@lame.novel.ru:/usr/obj/usr/src/sys/NOV i386

>Description:
	Update to 0.3.0. 

	Note: all UIs (qt, gtk, sdl) except x11 don't work becouse 
	qt and gtk are broken and sdl is detected in a some odd way, I'll
	try to fix it later. 

	gcc34 patch is not needed anymore becouse this version of pearpc
	compiles fine without it. 

>How-To-Repeat:
>Fix:

diff -ruN pearpc.orig/Makefile pearpc/Makefile
--- pearpc.orig/Makefile	Sat Aug 14 07:05:34 2004
+++ pearpc/Makefile	Sat Aug 14 07:46:58 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pearpc
-PORTVERSION=	0.2.0
+PORTVERSION=	0.3.0
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -28,14 +28,16 @@
 CONFIGURE_ARGS+=	--disable-fpo
 .endif
 
-.if defined(WITH_QT)
-CONFIGURE_ARGS+=	--enable-gui=qt
-USE_QT_VER=	3
-QTDIR?=		${X11BASE}
-CONFIGURE_ENV+=	QTDIR="${QTDIR}"
-.else
-CONFIGURE_ARGS+=	--enable-gui=nogui
-.endif
+# GTK and QT ui are broken in this version
+#
+#.if defined(WITH_QT)
+#CONFIGURE_ARGS+=	--enable-ui=qt
+#USE_QT_VER=	3
+#QTDIR?=		${X11BASE}
+#CONFIGURE_ENV+=	QTDIR="${QTDIR}"
+#.else
+#CONFIGURE_ARGS+=	--enable-ui=nogui
+#.endif
 
 .include <bsd.port.pre.mk>
 
diff -ruN pearpc.orig/distinfo pearpc/distinfo
--- pearpc.orig/distinfo	Sat Aug 14 07:05:34 2004
+++ pearpc/distinfo	Sat Aug 14 07:25:06 2004
@@ -1,2 +1,2 @@
-MD5 (pearpc-0.2.0.tar.gz) = 1cf100ba0f9bbd05acbdc9ecdf87f5f5
-SIZE (pearpc-0.2.0.tar.gz) = 702392
+MD5 (pearpc-0.3.0.tar.gz) = 6d68187c78cae674a5efa6662c4cdb22
+SIZE (pearpc-0.3.0.tar.gz) = 814686
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	Sat Aug 14 07:05:34 2004
+++ pearpc/files/patch-src-cpu_generic-ppc_cpu.cc	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- 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:
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Thu Aug 19 15:29:12 GMT 2004 
State-Changed-Why:  
Builds fine on 5.2.1, but on -STABLE: 
===>  Applying FreeBSD patches for pearpc-0.3.0 
sed: lstat: No such file or directory 
*** Error code 1 

That's the REINPLACE in post-patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70438 
State-Changed-From-To: feedback->closed 
State-Changed-By: vs 
State-Changed-When: Thu Aug 19 19:53:11 GMT 2004 
State-Changed-Why:  
Committed, thanks! 
Future possible improvements: The man-page ppc.1 is usually 
shadowed by FreeBSD's own ppc-man-page. 
Also, if you manage to get the sample configuration file listed 
in the man-page (which you should), you could drop pkg-message. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70438 
>Unformatted:
