diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-28 15:34:16 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-28 15:34:16 +0000 |
commit | 5886add232cd47a8fbc3a40549c300c32ff3f60f (patch) | |
tree | 5e4fb31ce144df7a3597efb293ec4808f63e59c8 /palm/pose | |
parent | c712e3a001cb5f3735f5d3ef766a7d2c9fa128a2 (diff) | |
download | ports-5886add232cd47a8fbc3a40549c300c32ff3f60f.tar.gz ports-5886add232cd47a8fbc3a40549c300c32ff3f60f.zip |
Notes
Diffstat (limited to 'palm/pose')
-rw-r--r-- | palm/pose/Makefile | 5 | ||||
-rw-r--r-- | palm/pose/files/patch-gcc-3.4_fix | 153 |
2 files changed, 154 insertions, 4 deletions
diff --git a/palm/pose/Makefile b/palm/pose/Makefile index f240b2f6e5b5..ff0e7b6c2f55 100644 --- a/palm/pose/Makefile +++ b/palm/pose/Makefile @@ -20,6 +20,7 @@ COMMENT= Palm OS(R) Emulator LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk USE_GL= yes +USE_PERL5_BUILD=yes WRKSRC= ${WRKDIR}/Emulator_Src_${PORTVERSION}/BuildUnix USE_GMAKE= yes GNU_CONFIGURE= yes @@ -36,10 +37,6 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \ BROKEN= "Does not compile on !i386" .endif -.if ${OSVERSION} >= 503000 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - post-install: ${MKDIR} ${PREFIX}/share/pose ${INSTALL_DATA} "${WRKSRC}/../ROMTransfer/Source/ROM_Transfer.prc" ${PREFIX}/share/pose diff --git a/palm/pose/files/patch-gcc-3.4_fix b/palm/pose/files/patch-gcc-3.4_fix new file mode 100644 index 000000000000..beb3cb875960 --- /dev/null +++ b/palm/pose/files/patch-gcc-3.4_fix @@ -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<T>::iterator iter = container.begin (); ++ typename deque<T>::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -108,7 +108,7 @@ + + container.resize (numElements); + +- list<T>::iterator iter = container.begin (); ++ typename list<T>::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -126,7 +126,7 @@ + + container.resize (numElements); + +- vector<T>::iterator iter = container.begin (); ++ typename vector<T>::iterator iter = container.begin (); + while (iter != container.end ()) + { + *this >> *iter; +@@ -143,7 +143,7 @@ + + *this << numElements; + +- deque<T>::const_iterator iter = container.begin (); ++ typename deque<T>::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -160,7 +160,7 @@ + + *this << numElements; + +- list<T>::const_iterator iter = container.begin (); ++ typename list<T>::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -177,7 +177,7 @@ + + *this << numElements; + +- vector<T>::const_iterator iter = container.begin (); ++ typename vector<T>::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -321,7 +321,7 @@ + + *this << numElements; + +- const deque<T>::const_iterator iter = container.begin (); ++ typename const deque<T>::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -338,7 +338,7 @@ + + *this << numElements; + +- const list<T>::const_iterator iter = container.begin (); ++ typename const list<T>::const_iterator iter = container.begin (); + while (iter != container.end ()) + { + *this << *iter; +@@ -355,7 +355,7 @@ + + *this << numElements; + +- const vector<T>::const_iterator iter = container.begin (); ++ typename const vector<T>::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 ++ |