From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 20 18:20:04 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 337C416A4CE for ; Fri, 20 May 2005 18:20:04 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8575943D69 for ; Fri, 20 May 2005 18:20:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4KIK2M6086932 for ; Fri, 20 May 2005 18:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4KIK2sT086931; Fri, 20 May 2005 18:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 20 May 2005 18:20:02 GMT Resent-Message-Id: <200505201820.j4KIK2sT086931@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Carlos A. M. dos Santos" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C416A16A4CF for ; Fri, 20 May 2005 18:10:04 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 934B643D76 for ; Fri, 20 May 2005 18:10:04 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4KIA2ml070399 for ; Fri, 20 May 2005 18:10:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4KIA26U070394; Fri, 20 May 2005 18:10:02 GMT (envelope-from nobody) Message-Id: <200505201810.j4KIA26U070394@www.freebsd.org> Date: Fri, 20 May 2005 18:10:02 GMT From: "Carlos A. M. dos Santos" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/81320: Fix Pose to compile under FreeBSD 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 18:20:04 -0000 >Number: 81320 >Category: ports >Synopsis: Fix Pose to compile under FreeBSD 5.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 20 18:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Carlos A. M. dos Santos >Release: 5.4-RELEASE >Organization: >Environment: FreeBSD sophia.inf.urisan 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Mon May 16 01:34:41 BRT 2005 root@avatar.casantos.org:/share/FreeBSD/5.4-RELEASE/src/sys/i386/compile/A7N266-VM i386 >Description: The palm/pose port is marked as broken for FreeBSD 5.x due to compilation problems with recent versions of GCC. >How-To-Repeat: cd /usr/ports/pose make >Fix: apply the following patch diff -durP /usr/ports/palm/pose/Makefile pose/Makefile --- /usr/ports/palm/pose/Makefile Thu Feb 17 08:54:05 2005 +++ pose/Makefile Fri May 20 14:31:38 2005 @@ -7,7 +7,7 @@ PORTNAME= pose PORTVERSION= 3.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= palm emulators MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/ \ http://www.palmos.com/dev/tools/emulator/:skins @@ -34,10 +34,6 @@ .if ${ARCH} != "i386" BROKEN= "Does not compile on !i386" -.endif - -.if ${OSVERSION} >= 503000 -BROKEN= "Does not compile on FreeBSD >= 5.x" .endif post-install: diff -durP /usr/ports/palm/pose/files/patch-gcc-3.4_fix pose/files/patch-gcc-3.4_fix --- /usr/ports/palm/pose/files/patch-gcc-3.4_fix Wed Dec 31 21:00:00 1969 +++ pose/files/patch-gcc-3.4_fix Fri May 20 15:05:27 2005 @@ -0,0 +1,153 @@ +diff -ur ../SrcShared/EmStream.h.orig ../SrcShared/EmStream.h +--- ../SrcShared/EmStream.h.orig Fri Mar 29 07:11:14 2002 ++++ ../SrcShared/EmStream.h Thu Nov 25 17:04:01 2004 +@@ -90,7 +90,7 @@ + + container.resize (numElements); + +- deque::iterator iter = container.begin (); ++ typename deque::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -108,7 +108,7 @@ + + container.resize (numElements); + +- list::iterator iter = container.begin (); ++ typename list::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -126,7 +126,7 @@ + + container.resize (numElements); + +- vector::iterator iter = container.begin (); ++ typename vector::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -143,7 +143,7 @@ + + *this << numElements; + +- deque::const_iterator iter = container.begin (); ++ typename deque::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -160,7 +160,7 @@ + + *this << numElements; + +- list::const_iterator iter = container.begin (); ++ typename list::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -177,7 +177,7 @@ + + *this << numElements; + +- vector::const_iterator iter = container.begin (); ++ typename vector::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -321,7 +321,7 @@ + + *this << numElements; + +- const deque::const_iterator iter = container.begin (); ++ typename const deque::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -338,7 +338,7 @@ + + *this << numElements; + +- const list::const_iterator iter = container.begin (); ++ typename const list::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -355,7 +355,7 @@ + + *this << numElements; + +- const vector::const_iterator iter = container.begin (); ++ typename const vector::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +diff -ur ../SrcShared/Hardware/EmRegsEZTRGpro.cpp.orig ../SrcShared/Hardware/EmRegsEZTRGpro.cpp +--- ../SrcShared/Hardware/EmRegsEZTRGpro.cpp.orig Fri Mar 29 07:11:18 2002 ++++ ../SrcShared/Hardware/EmRegsEZTRGpro.cpp Fri Nov 26 21:28:59 2004 +@@ -229,8 +229,8 @@ + void EmRegsEZTRGpro::SetSubBankHandlers(void) + { + EmRegsEZ::SetSubBankHandlers(); +- this->SetHandler((ReadFunction)&EmRegs::StdRead, +- (WriteFunction)&EmRegsEZTRGpro::spiWrite, ++ this->SetHandler((ReadFunction) &EmRegsEZTRGpro::StdRead, ++ (WriteFunction) &EmRegsEZTRGpro::spiWrite, + addressof(spiMasterData), + sizeof(f68EZ328Regs.spiMasterData)); + } +diff -ur ../SrcShared/Hardware/EmRegsVZHandEra330.cpp.orig ../SrcShared/Hardware/EmRegsVZHandEra330.cpp +--- ../SrcShared/Hardware/EmRegsVZHandEra330.cpp.orig Fri Mar 29 07:11:19 2002 ++++ ../SrcShared/Hardware/EmRegsVZHandEra330.cpp Fri Nov 26 21:30:56 2004 +@@ -588,14 +588,14 @@ + + // SD support + this->SetHandler((ReadFunction)&EmRegsVZHandEra330::spiRxDRead, +- (WriteFunction)&EmRegsVZ::StdWrite, ++ (WriteFunction) &EmRegsVZHandEra330::StdWrite, + addressof(spiRxD), + sizeof(UInt16)); +- this->SetHandler((ReadFunction)&EmRegsVZ::StdRead, ++ this->SetHandler((ReadFunction) &EmRegsVZHandEra330::StdRead, + (WriteFunction)&EmRegsVZHandEra330::spiTxDWrite, + addressof(spiTxD), + sizeof(UInt16)); +- this->SetHandler((ReadFunction)&EmRegsVZ::StdRead, ++ this->SetHandler((ReadFunction) &EmRegsVZHandEra330::StdRead, + (WriteFunction)&EmRegsVZHandEra330::spiCont1Write, + addressof(spiCont1), + sizeof(UInt16)); +diff -ur ../SrcShared/Hardware/EmRegsVZPalmM505.cpp.orig ../SrcShared/Hardware/EmRegsVZPalmM505.cpp +--- ../SrcShared/Hardware/EmRegsVZPalmM505.cpp.orig Fri Mar 29 07:11:19 2002 ++++ ../SrcShared/Hardware/EmRegsVZPalmM505.cpp Fri Nov 26 21:32:00 2004 +@@ -50,7 +50,7 @@ + + // Now add standard/specialized handers for the defined registers. + +- this->SetHandler ((ReadFunction) &EmRegsVZ::StdRead, ++ this->SetHandler ((ReadFunction) &EmRegsVZPalmM505::StdRead, + (WriteFunction) &EmRegsVZPalmM505::portFSelectWrite, + addressof (portFSelect), sizeof (f68VZ328Regs.portFSelect)); + } +diff -ur ../SrcShared/Hardware/TRG/EmSPISlave330Current.h.orig ../SrcShared/Hardware/TRG/EmSPISlave330Current.h +--- ../SrcShared/Hardware/TRG/EmSPISlave330Current.h.orig Fri Mar 29 07:11:05 2002 ++++ ../SrcShared/Hardware/TRG/EmSPISlave330Current.h Fri Nov 26 21:23:41 2004 +@@ -48,4 +48,5 @@ + Bool fPowerConnected; + }; + +-#endif +\ No newline at end of file ++#endif ++ +diff -ur ../SrcShared/Hardware/TRG/EmTRGSD.h.orig ../SrcShared/Hardware/TRG/EmTRGSD.h +--- ../SrcShared/Hardware/TRG/EmTRGSD.h.orig Fri Mar 29 07:11:06 2002 ++++ ../SrcShared/Hardware/TRG/EmTRGSD.h Fri Nov 26 21:22:58 2004 +@@ -61,4 +61,5 @@ + void ExchangeBits(uint16 txData, uint16 *rxData, uint16 Bits); + }; + +-#endif +\ No newline at end of file ++#endif ++ >Release-Note: >Audit-Trail: >Unformatted: