diff options
author | Hanno Böck <hanno@gentoo.org> | 2003-05-12 17:49:51 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2003-05-12 17:49:51 +0000 |
commit | 2b3d4c5faa497e93b781588a63cb8d3312b2c3b3 (patch) | |
tree | 0217d406632330f3fa326dac51f94fd0518cba61 /net-p2p/mutella | |
parent | initial verison (diff) | |
download | gentoo-2-2b3d4c5faa497e93b781588a63cb8d3312b2c3b3.tar.gz gentoo-2-2b3d4c5faa497e93b781588a63cb8d3312b2c3b3.tar.bz2 gentoo-2-2b3d4c5faa497e93b781588a63cb8d3312b2c3b3.zip |
removing old mutella-stuff
Diffstat (limited to 'net-p2p/mutella')
-rw-r--r-- | net-p2p/mutella/Manifest | 7 | ||||
-rw-r--r-- | net-p2p/mutella/files/digest-mutella-0.3.3 | 1 | ||||
-rw-r--r-- | net-p2p/mutella/files/digest-mutella-0.4 | 1 | ||||
-rw-r--r-- | net-p2p/mutella/files/digest-mutella-0.4.1 | 1 | ||||
-rw-r--r-- | net-p2p/mutella/files/mutella-gcc3-gentoo.patch | 547 | ||||
-rw-r--r-- | net-p2p/mutella/mutella-0.3.3.ebuild | 29 | ||||
-rw-r--r-- | net-p2p/mutella/mutella-0.4.1.ebuild | 25 | ||||
-rw-r--r-- | net-p2p/mutella/mutella-0.4.ebuild | 24 |
8 files changed, 0 insertions, 635 deletions
diff --git a/net-p2p/mutella/Manifest b/net-p2p/mutella/Manifest index a8835a4ba45f..7d66babe482f 100644 --- a/net-p2p/mutella/Manifest +++ b/net-p2p/mutella/Manifest @@ -1,10 +1,3 @@ MD5 23d8cf54952d6b0b50621bd3d9d9fa60 ChangeLog 1662 -MD5 382303ce538daf57e8b71623b21aad86 mutella-0.3.3.ebuild 741 -MD5 e0d49975ee9dca8f56f7e831a8ff77c1 mutella-0.4.1.ebuild 694 -MD5 b96bfc9d2de89d15ea674b8e38bf18bb mutella-0.4.ebuild 654 MD5 500e6fbd7fdff250c196a8e0bd4c4aac mutella-0.4.3.ebuild 620 -MD5 d9b7c7c83b8859880fc68b33fecb53cb files/digest-mutella-0.3.3 65 -MD5 ad3b57d23f601a35b415ab429fc175bc files/digest-mutella-0.4 63 -MD5 b4b1556fc81925cbd403fb0552dda505 files/digest-mutella-0.4.1 65 -MD5 3e68bf6b8e144bb7981816e7a7458c4d files/mutella-gcc3-gentoo.patch 18668 MD5 1223ea0ad977a9b14c16fdc718d2a270 files/digest-mutella-0.4.3 65 diff --git a/net-p2p/mutella/files/digest-mutella-0.3.3 b/net-p2p/mutella/files/digest-mutella-0.3.3 deleted file mode 100644 index 96fd261c9f13..000000000000 --- a/net-p2p/mutella/files/digest-mutella-0.3.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 ea797048bb4bb6a35b677b1152d84ce2 mutella-0.3.3.tar.gz 310907 diff --git a/net-p2p/mutella/files/digest-mutella-0.4 b/net-p2p/mutella/files/digest-mutella-0.4 deleted file mode 100644 index 92133b0c5506..000000000000 --- a/net-p2p/mutella/files/digest-mutella-0.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 fcfa02094d02e8c9fc7632916e50c72c mutella-0.4.tar.gz 349871 diff --git a/net-p2p/mutella/files/digest-mutella-0.4.1 b/net-p2p/mutella/files/digest-mutella-0.4.1 deleted file mode 100644 index ea85e2acf630..000000000000 --- a/net-p2p/mutella/files/digest-mutella-0.4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 68e83b16e63c59304fc65e19635985bc mutella-0.4.1.tar.gz 358421 diff --git a/net-p2p/mutella/files/mutella-gcc3-gentoo.patch b/net-p2p/mutella/files/mutella-gcc3-gentoo.patch deleted file mode 100644 index 01628aeb539f..000000000000 --- a/net-p2p/mutella/files/mutella-gcc3-gentoo.patch +++ /dev/null @@ -1,547 +0,0 @@ -diff -ur mutella-0.3.3/mutella/asyncfile.cpp mutella-0.3.3~/mutella/asyncfile.cpp ---- mutella-0.3.3/mutella/asyncfile.cpp 2002-01-24 07:54:47.000000000 -0600 -+++ mutella-0.3.3~/mutella/asyncfile.cpp 2002-11-03 10:37:54.000000000 -0600 -@@ -12,12 +12,13 @@ - #include "mutella.h" - #include "mthread.h" - #include <unistd.h> --#include <iostream.h> -+#include <iostream> - #include <stdlib.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> - #include <errno.h> -+#include <algorithm> - - #include "tstring.h" - #include "asyncfile.h" -@@ -444,7 +445,7 @@ - // possibly get processed before the 'wakeAll' call. This results in a - // crash if the object get deleted in the request callback function - --MAsyncFile::MAsyncFile(int mode /*=AFM_READWRITE*/, int nBufSize = 4096) //: m_mtxWait(true) //TODO: find a better way -+MAsyncFile::MAsyncFile(int mode /*=AFM_READWRITE*/, int nBufSize) //: m_mtxWait(true) //TODO: find a better way - { - - m_nMode = mode; -@@ -759,7 +760,7 @@ - return m_pData; - } - --int MAsyncFile::Read(char* pBuffer, int nBytes, bool bOnlyCached = true, bool bBlock /*=false*/) // return number of bytes read or -1 -+int MAsyncFile::Read(char* pBuffer, int nBytes, bool bOnlyCached, bool bBlock /*=false*/) // return number of bytes read or -1 - { - if (m_mtxBuffer.locked()) - { -@@ -783,7 +784,7 @@ - int n = 0; - if (m_nPreReadBytes) - { -- n = min(nBytes, m_nPreReadBytes); -+ n = std::min(nBytes, m_nPreReadBytes); - memcpy(pBuffer, m_pData, n); - m_nPreReadBytes -= n; - if (m_nPreReadBytes) -@@ -879,7 +880,7 @@ - if (nBytesUsed > 0) - { - ASSERT(m_pRequest->type==AFR_NONE); -- m_nPreReadBytes -= min(m_nPreReadBytes, nBytesUsed); -+ m_nPreReadBytes -= std::min(m_nPreReadBytes, nBytesUsed); - if (m_nPreReadBytes) - m_pData += nBytesUsed; - else -@@ -920,7 +921,7 @@ - m_pBuffer = new char[m_nBufferSize]; - } - // copy -- nBytesSaved = min(nBytes, m_nBufferSize); -+ nBytesSaved = std::min(nBytes, m_nBufferSize); - memcpy(m_pBuffer, pBuffer, nBytes); - m_pRequest->buffer = m_pBuffer; - m_pRequest->size = nBytesSaved; -@@ -966,7 +967,7 @@ - m_pBuffer = new char[m_nBufferSize]; - } - // copy -- nBytesSaved = min(nBytes, m_nBufferSize); -+ nBytesSaved = std::min(nBytes, m_nBufferSize); - memcpy(m_pBuffer, pBuffer, nBytes); - m_pRequest->buffer = m_pBuffer; - m_pRequest->size = nBytesSaved; -diff -ur mutella-0.3.3/mutella/asyncsocket.h mutella-0.3.3~/mutella/asyncsocket.h ---- mutella-0.3.3/mutella/asyncsocket.h 2001-11-23 04:41:30.000000000 -0600 -+++ mutella-0.3.3~/mutella/asyncsocket.h 2002-11-03 10:16:28.000000000 -0600 -@@ -159,4 +159,7 @@ - }; - - --#endif //__MASYCNSOCKET_H_INCLUDED__ -\ No newline at end of file -+#endif //__MASYCNSOCKET_H_INCLUDED__ -+ -+ -+ -diff -ur mutella-0.3.3/mutella/byteorder.h mutella-0.3.3~/mutella/byteorder.h ---- mutella-0.3.3/mutella/byteorder.h 2001-11-23 04:41:36.000000000 -0600 -+++ mutella-0.3.3~/mutella/byteorder.h 2002-11-03 10:16:33.000000000 -0600 -@@ -103,4 +103,7 @@ - - extern void BitReorder(unsigned char* pBuffer, int nSize, int nElementSize, bool bBits, bool bBytes); - --#endif //_BYTEORDER_H_INCLUDED_ -\ No newline at end of file -+#endif //_BYTEORDER_H_INCLUDED_ -+ -+ -+ -diff -ur mutella-0.3.3/mutella/common.h mutella-0.3.3~/mutella/common.h ---- mutella-0.3.3/mutella/common.h 2002-01-18 14:36:22.000000000 -0600 -+++ mutella-0.3.3~/mutella/common.h 2002-11-03 10:16:31.000000000 -0600 -@@ -364,4 +364,7 @@ - bool m_bFull; - }; - --#endif -\ No newline at end of file -+#endif -+ -+ -+ -diff -ur mutella-0.3.3/mutella/controller.cpp mutella-0.3.3~/mutella/controller.cpp ---- mutella-0.3.3/mutella/controller.cpp 2002-01-24 09:47:13.000000000 -0600 -+++ mutella-0.3.3~/mutella/controller.cpp 2002-11-03 10:44:28.000000000 -0600 -@@ -24,6 +24,7 @@ - #include "asyncfile.h" - #include "event.h" - -+#include <iostream> - - class MControllerThread: public MThread - { -@@ -274,7 +275,7 @@ - DirEntryVec partials; - if (!ScanDir(partials, ExpandPath(partDir), "*.[[*]]")) - { -- cerr << "LoadPartials: error scanning the dir " << partDir << endl; -+ std::cerr << "LoadPartials: error scanning the dir " << partDir << std::endl; - return; - } - if (!partials.size()) -diff -ur mutella-0.3.3/mutella/conversions.h mutella-0.3.3~/mutella/conversions.h ---- mutella-0.3.3/mutella/conversions.h 2001-11-23 05:04:21.000000000 -0600 -+++ mutella-0.3.3~/mutella/conversions.h 2002-11-03 10:16:43.000000000 -0600 -@@ -32,4 +32,4 @@ -
- CString GetMapColor(int Hops);
-
--#endif -\ No newline at end of file -+#endif
-diff -ur mutella-0.3.3/mutella/defines.h mutella-0.3.3~/mutella/defines.h ---- mutella-0.3.3/mutella/defines.h 2001-12-12 03:33:03.000000000 -0600 -+++ mutella-0.3.3~/mutella/defines.h 2002-11-03 10:06:18.000000000 -0600 -@@ -66,4 +66,4 @@ - - #endif //_DEBUG - --#endif //__defines_h_included__ -\ No newline at end of file -+#endif //__defines_h_included__ -diff -ur mutella-0.3.3/mutella/dir.h mutella-0.3.3~/mutella/dir.h ---- mutella-0.3.3/mutella/dir.h 2001-11-23 04:43:35.000000000 -0600 -+++ mutella-0.3.3~/mutella/dir.h 2002-11-03 10:39:12.000000000 -0600 -@@ -9,6 +9,8 @@ - #ifndef _DIR_H_INCLUDED_ - #define _DIR_H_INCLUDED_ - -+#include <vector> -+ - struct DirEntry { - enum DirEntryType{ - notdef = 0x0000, -@@ -68,7 +70,7 @@ - SORT_BYCTIME = 0x0005 - }; - --typedef vector<DirEntry> DirEntryVec; -+typedef std::vector<DirEntry> DirEntryVec; - - bool ScanDir( DirEntryVec& result, - const CString &path, -diff -ur mutella-0.3.3/mutella/event.cpp mutella-0.3.3~/mutella/event.cpp ---- mutella-0.3.3/mutella/event.cpp 2002-01-18 06:57:48.000000000 -0600 -+++ mutella-0.3.3~/mutella/event.cpp 2002-11-03 10:16:12.000000000 -0600 -@@ -21,7 +21,7 @@ - } - - // simple string event --MStringEvent::MStringEvent(int type, int severity, const CString& value, DWORD ID = 0) : -+MStringEvent::MStringEvent(int type, int severity, const CString& value, DWORD ID) : - TSimpleEvent<CString>(type,severity,value, ID) - { - } -@@ -118,7 +118,7 @@ - - } - --bool MAsyncEventReceiver::Poll(u_long time = ULONG_MAX) -+bool MAsyncEventReceiver::Poll(u_long time) - { - MLock lock(m_mutex); - if (m_queue.size()) -diff -ur mutella-0.3.3/mutella/gnudirector.cpp mutella-0.3.3~/mutella/gnudirector.cpp ---- mutella-0.3.3/mutella/gnudirector.cpp 2002-01-24 09:40:05.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnudirector.cpp 2002-11-03 11:00:10.000000000 -0600 -@@ -1361,7 +1361,7 @@ - if(pSock->m_nSecsAlive > 15 || pSock->m_bDestroy) - { - delete pSock; -- m_SockList.erase(&m_SockList[i]); -+ m_SockList.erase(m_SockList.begin() + i); - i--; - } - else -@@ -1425,7 +1425,7 @@ - if(pUp->m_nStatus == TRANSFER_CLOSED || pUp->m_nStatus == TRANSFER_COMPLETED) - { - delete pUp; -- m_UploadList.erase(&m_UploadList[i]); -+ m_UploadList.erase(m_UploadList.begin() + i); - i--; - } - else -@@ -1483,7 +1483,7 @@ - { - // remove "autoget" search - // m_listmutex is locked here -- for (vector<MGnuSearch*>::iterator is = m_SearchList.begin(); is != m_SearchList.end(); ++is) -+ for (std::vector<MGnuSearch*>::iterator is = m_SearchList.begin(); is != m_SearchList.end(); ++is) - { - if ( (*is)->IsAutomatic() && pDown->m_dwSearchID == (*is)->m_dwID ) - { -@@ -1494,7 +1494,7 @@ - } - } - // -- m_DownloadList.erase(&m_DownloadList[i]); -+ m_DownloadList.erase(m_DownloadList.begin() + i); - i--; - delete pDown; - } -@@ -1586,7 +1586,7 @@ - float BandwidthLimit = -1; - - if(m_pPrefs->m_dBandwidthTotal >= 0 && m_pPrefs->m_dBandwidthConnects >= 0) -- BandwidthLimit = min(m_pPrefs->m_dBandwidthTotal,m_pPrefs->m_dBandwidthConnects); -+ BandwidthLimit = std::min(m_pPrefs->m_dBandwidthTotal,m_pPrefs->m_dBandwidthConnects); - else if(m_pPrefs->m_dBandwidthTotal >= 0) - BandwidthLimit = m_pPrefs->m_dBandwidthTotal; - else if(m_pPrefs->m_dBandwidthConnects >= 0) -diff -ur mutella-0.3.3/mutella/gnudownload.cpp mutella-0.3.3~/mutella/gnudownload.cpp ---- mutella-0.3.3/mutella/gnudownload.cpp 2002-01-24 09:42:55.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnudownload.cpp 2002-11-03 10:58:08.000000000 -0600 -@@ -34,7 +34,7 @@ - // service: we need this set for thread-safe callbacks - - static MMutex s_mutexDownloadSet(true); // recursive to enable 'delete this' from callbacks --static set<MGnuDownload*> s_setDownloads; -+static std::set<MGnuDownload*> s_setDownloads; - // - static inline void RegisterDownload(MGnuDownload* p) - { -@@ -788,7 +788,7 @@ - m_dwSecBytes += nSize; - if(m_dwResumeStart) - { -- int VerSize = min(nSize, (int)(m_dwBytesCompleted-m_dwResumeStart-m_nVerifyPos)); -+ int VerSize = std::min(nSize, (int)(m_dwBytesCompleted-m_dwResumeStart-m_nVerifyPos)); - ASSERT(m_nVerifyPos>=0); - ASSERT(VerSize <= 4096 - m_nVerifyPos); - ASSERT(m_nVerifyPos<4096); -@@ -1091,7 +1091,7 @@ - if (m_BadResults[j].ChangeTime != SR.ChangeTime) - { - // it is not gona be bad anymore -- m_BadResults.erase(&m_BadResults[j]); -+ m_BadResults.erase(m_BadResults.begin() + j); - break; - } - else -@@ -1157,7 +1157,7 @@ - // remove this result - // and put it to the BAD list - m_BadResults.push_back(m_Queue[m_nQueuePos]); -- m_Queue.erase(&m_Queue[m_nQueuePos]); -+ m_Queue.erase(m_Queue.begin() + m_nQueuePos); - // note that counter should not be incremented - m_nQueuePos = m_nQueuePos % m_Queue.size(); - } -diff -ur mutella-0.3.3/mutella/gnunode.cpp mutella-0.3.3~/mutella/gnunode.cpp ---- mutella-0.3.3/mutella/gnunode.cpp 2002-01-20 15:11:25.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnunode.cpp 2002-11-03 10:46:35.000000000 -0600 -@@ -35,6 +35,8 @@ - static char THIS_FILE[] = __FILE__; - #endif - -+#include <algorithm> -+ - ///////////////////////////////////////////////////////////////////////////// - // MGnuNode - -@@ -128,7 +130,7 @@ - delete [] m_pExtraBuffer; - } - --int MGnuNode::Send(const void* lpBuf, int nBufLen, int nFlags = 0) -+int MGnuNode::Send(const void* lpBuf, int nBufLen, int nFlags) - { - ASSERT(nFlags == 0); - MLock lock(m_sendQueueMutex); -@@ -242,7 +244,7 @@ - ASSERT(m_dwExtraLength>0); - ASSERT(m_dwExtraLength<=65536); - //memcpy(m_pReceiveBuffer, m_pExtra, m_dwExtraLength); -- swap(m_pReceiveBuffer, m_pExtraBuffer); -+ std::swap(m_pReceiveBuffer, m_pExtraBuffer); - dwOffset = m_dwExtraLength; - m_dwExtraLength = 0; - } -@@ -277,7 +279,7 @@ - } - else - { -- swap(m_pReceiveBuffer, m_pExtraBuffer); -+ std::swap(m_pReceiveBuffer, m_pExtraBuffer); - m_dwExtraLength = dwBuffLength; - } - } -@@ -290,7 +292,7 @@ - if(65536 > m_dwExtraLength) - { - if (dwBuffLength == m_dwExtraLength && pDataToSplit == m_pReceiveBuffer) -- swap(m_pReceiveBuffer, m_pExtraBuffer); -+ std::swap(m_pReceiveBuffer, m_pExtraBuffer); - else - { - ASSERT(dwBuffLength<=65536); -diff -ur mutella-0.3.3/mutella/gnusearch.cpp mutella-0.3.3~/mutella/gnusearch.cpp ---- mutella-0.3.3/mutella/gnusearch.cpp 2002-01-24 09:26:14.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnusearch.cpp 2002-11-03 10:43:12.000000000 -0600 -@@ -17,6 +17,8 @@ - #include "gnudownload.h" - #include "packet.h" - -+#include <algorithm> -+ - int ResultGroup::SortBy = 0; - bool ResultGroup::Reverse = true; - -@@ -76,7 +78,7 @@ - } - if (sQuery.length()<4) - return; -- int nSearchStlLen = min(sQuery.length(), 256-25-1); -+ int nSearchStlLen = std::min(sQuery.length(), 256-25-1); - memcpy(m_Packet + 25, sQuery.c_str(), nSearchStlLen); //TODO: check bounds!!! - m_Packet[25 + nSearchStlLen] = '\0'; //FIXED! out of bounds mem-write! - m_nPacketLength = 25 + nSearchStlLen + 1; -diff -ur mutella-0.3.3/mutella/gnusearch.h mutella-0.3.3~/mutella/gnusearch.h ---- mutella-0.3.3/mutella/gnusearch.h 2002-01-24 09:26:26.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnusearch.h 2002-11-03 10:40:55.000000000 -0600 -@@ -76,8 +76,8 @@ - protected: - // search kitchen - char* m_szSearch; -- vector<char*> m_PlusWords; -- vector<char*> m_MinusWords; -+ std::vector<char*> m_PlusWords; -+ std::vector<char*> m_MinusWords; - // packet - BYTE* m_Packet; - int m_nPacketLength; -diff -ur mutella-0.3.3/mutella/gnuupload.cpp mutella-0.3.3~/mutella/gnuupload.cpp ---- mutella-0.3.3/mutella/gnuupload.cpp 2002-01-19 16:12:08.000000000 -0600 -+++ mutella-0.3.3~/mutella/gnuupload.cpp 2002-11-03 10:44:54.000000000 -0600 -@@ -34,7 +34,7 @@ - // service: we need this set for thread-safe callbacks - - static MMutex s_mutexUploadSet(true); // recursive to enable 'delete this' from callbacks --static set<MGnuUpload*> s_setUploads; -+static std::set<MGnuUpload*> s_setUploads; - // - static inline void RegisterUpload(MGnuUpload* p) - { -diff -ur mutella-0.3.3/mutella/mprintf.cpp mutella-0.3.3~/mutella/mprintf.cpp ---- mutella-0.3.3/mutella/mprintf.cpp 2002-01-23 03:40:06.000000000 -0600 -+++ mutella-0.3.3~/mutella/mprintf.cpp 2002-11-03 10:17:12.000000000 -0600 -@@ -16,7 +16,7 @@ - #include "term_help.h" - #include "ansicolor.h" - --MPrintf::MPrintf(int nCPL = -1) -+MPrintf::MPrintf(int nCPL) - { - m_nCPL = nCPL; - m_nCaret = 0; -@@ -147,7 +147,7 @@ - - ///////////////////////////////////////////////////////////////////////////// - --MPrintfMore::MPrintfMore(int nCPL = -1, int nLPP = -1) : MPrintf(nCPL) -+MPrintfMore::MPrintfMore(int nCPL, int nLPP) : MPrintf(nCPL) - { - m_nLPP = nLPP; - m_nLines = 0; -diff -ur mutella-0.3.3/mutella/mthread_unix.cpp mutella-0.3.3~/mutella/mthread_unix.cpp ---- mutella-0.3.3/mutella/mthread_unix.cpp 2002-01-18 15:05:50.000000000 -0600 -+++ mutella-0.3.3~/mutella/mthread_unix.cpp 2002-11-03 10:43:45.000000000 -0600 -@@ -574,7 +574,7 @@ - return d->thread_done.wait(time); - } - --bool MThread::wait( MMutex* mutex, unsigned long time = ULONG_MAX ) -+bool MThread::wait( MMutex* mutex, unsigned long time) - { - if (d->finished || ! d->running) - return TRUE; -diff -ur mutella-0.3.3/mutella/mui.cpp mutella-0.3.3~/mutella/mui.cpp ---- mutella-0.3.3/mutella/mui.cpp 2002-01-24 10:06:22.000000000 -0600 -+++ mutella-0.3.3~/mutella/mui.cpp 2002-11-03 10:42:31.000000000 -0600 -@@ -9,7 +9,7 @@ - #include "config.h" - #endif - --#include <iostream.h> -+#include <iostream> - #include <stdlib.h> - #include <stdio.h> - #include <unistd.h> -@@ -198,7 +198,7 @@ - int m_nDummy1; - bool m_bContinue; - int m_nDummy2; -- queue<CString> m_command_queue; -+ std::queue<CString> m_command_queue; - // paged terminal output - MPrintfColor m_more; - // couple of properties -diff -ur mutella-0.3.3/mutella/mutella.h mutella-0.3.3~/mutella/mutella.h ---- mutella-0.3.3/mutella/mutella.h 2002-01-20 15:01:33.000000000 -0600 -+++ mutella-0.3.3~/mutella/mutella.h 2002-11-03 10:12:45.000000000 -0600 -@@ -13,7 +13,7 @@ - #include <vector> - #include <string> - #include <list> --#include <slist> -+#include <ext/slist> - #include <deque> - #include <queue> - #include <set> -@@ -148,4 +148,4 @@ - #include "packet.h" - #include "conversions.h" - --#endif //__mutella_h_included__ -\ No newline at end of file -+#endif //__mutella_h_included__ -diff -ur mutella-0.3.3/mutella/property.cpp mutella-0.3.3~/mutella/property.cpp ---- mutella-0.3.3/mutella/property.cpp 2002-01-18 13:36:15.000000000 -0600 -+++ mutella-0.3.3~/mutella/property.cpp 2002-11-03 10:42:08.000000000 -0600 -@@ -134,7 +134,7 @@ - if (!inifile.LoadFile(path.c_str())) - return false; - bool bOK = true; -- map<CString, MProperty*>map_copy = m_props; -+ std::map<CString, MProperty*>map_copy = m_props; - for (sec_iterator its = sec_begin();its!=sec_end();its++) - { - MPropertySection* pS = its->second; -@@ -163,7 +163,7 @@ - MIniFile inifile(INI_FxALLOWxCREATE); - inifile.LoadFile(path.c_str()); - // -- map<CString, MProperty*>map_copy = m_props; -+ std::map<CString, MProperty*>map_copy = m_props; - for (sec_iterator its = sec_begin();its!=sec_end();its++) - { - MPropertySection* pS = its->second; -@@ -196,7 +196,7 @@ - { - int nCountAdded = 0; - std::queue<CString> toErase; -- map<CString, MProperty*>map_copy = pPC->m_props; -+ std::map<CString, MProperty*>map_copy = pPC->m_props; - for (sec_iterator its = pPC->sec_begin();its!=pPC->sec_end();its++) - { - MPropertySection* pS = its->second; -diff -ur mutella-0.3.3/mutella/property.h mutella-0.3.3~/mutella/property.h ---- mutella-0.3.3/mutella/property.h 2002-01-18 13:41:07.000000000 -0600 -+++ mutella-0.3.3~/mutella/property.h 2002-11-03 10:41:14.000000000 -0600 -@@ -168,21 +168,21 @@ - class MPropertySection{ - friend class MPropertyContainer; - public: -- typedef map<CString, MProperty*>::iterator prop_iterator; -+ typedef std::map<CString, MProperty*>::iterator prop_iterator; - // - static inline MProperty* GetProperty(const prop_iterator& it){return it->second;} - static inline LPCSTR GetPropertyName(const prop_iterator& it){return it->first.c_str();} - inline prop_iterator begin(){return m_props.begin();} - inline prop_iterator end(){return m_props.end();} - protected: -- map<CString, MProperty*> m_props; -+ std::map<CString, MProperty*> m_props; - CString m_sName; - }; - - class MPropertyContainer { - public: -- typedef map<CString, MProperty*>::iterator prop_iterator; -- typedef map<CString, MPropertySection*>::iterator sec_iterator; -+ typedef std::map<CString, MProperty*>::iterator prop_iterator; -+ typedef std::map<CString, MPropertySection*>::iterator sec_iterator; - typedef prop_iterator iterator; - - MPropertyContainer(); -@@ -226,8 +226,8 @@ - bool Read(LPCSTR szName); - bool Write(LPCSTR szName); - protected: -- map<CString, MProperty*> m_props; -- map<CString, MPropertySection*> m_secs; -+ std::map<CString, MProperty*> m_props; -+ std::map<CString, MPropertySection*> m_secs; - MPropertySection* m_pCurSec; - }; - -diff -ur mutella-0.3.3/mutella/tstring.h mutella-0.3.3~/mutella/tstring.h ---- mutella-0.3.3/mutella/tstring.h 2002-01-13 09:52:12.000000000 -0600 -+++ mutella-0.3.3~/mutella/tstring.h 2002-11-03 10:15:18.000000000 -0600 -@@ -396,8 +396,8 @@ - friend TString<T> operator+ <>(typename TString<T>::LPCT pszLhs, const TString<T>& rhs); - friend TString<T> operator+ <>(const TString<T>& lhs, T cRhs); - friend TString<T> operator+ <>(T cLhs, const TString<T>& rhs); -- friend ostream& operator<< <>(ostream& os, const TString<T>& st); -- friend istream& operator>> <>(istream& is, const TString<T>& st); -+ friend std::ostream& operator<< <>(std::ostream& os, const TString<T>& st); -+ friend std::istream& operator>> <>(std::istream& is, const TString<T>& st); - }; - - template<class T> -@@ -534,12 +534,12 @@ - } - - template<class T> --ostream& operator<<(ostream& os, const TString<T>& st) { -+std::ostream& operator<<(std::ostream& os, const TString<T>& st) { - return os << st.m_pBuffer; - } - - template<class T> --istream& operator>>(istream& is, const TString<T>& st){ -+std::istream& operator>>(std::istream& is, const TString<T>& st){ - ASSERT(0);// not implemented properly - return is >> st.m_pBuffer; - } diff --git a/net-p2p/mutella/mutella-0.3.3.ebuild b/net-p2p/mutella/mutella-0.3.3.ebuild deleted file mode 100644 index 4cc45df0493e..000000000000 --- a/net-p2p/mutella/mutella-0.3.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/mutella-0.3.3.ebuild,v 1.7 2003/02/13 15:21:24 vapier Exp $ - -DESCRIPTION="Text-mode gnutella client" -SRC_URI="mirror://sourceforge/mutella/${P}.tar.gz" -HOMEPAGE="http://mutella.sourceforge.net/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc" - -DEPEND="virtual/glibc - sys-libs/readline" - -src_unpack() { - unpack ${A} - cd ${S} && patch -p1 <${FILESDIR}/mutella-gcc3-gentoo.patch || die -} - -src_compile() { - econf - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die "install failed" - dodoc AUTHORS ChangeLog COPYING INSTALL KNOWN-BUGS README TODO -} diff --git a/net-p2p/mutella/mutella-0.4.1.ebuild b/net-p2p/mutella/mutella-0.4.1.ebuild deleted file mode 100644 index 8d351b9ef0ca..000000000000 --- a/net-p2p/mutella/mutella-0.4.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/mutella-0.4.1.ebuild,v 1.4 2003/02/13 15:21:30 vapier Exp $ - -DESCRIPTION="Text-mode gnutella client" -SRC_URI="mirror://sourceforge/mutella/${P}.tar.gz" -HOMEPAGE="http://mutella.sourceforge.net/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc" - -DEPEND="virtual/glibc - sys-libs/readline" - -src_compile() { - CXXFLAGS="${CXXFLAGS} -DNAVE_NO_SLIST " - econf - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die "compile problem" - dodoc AUTHORS ChangeLog COPYING INSTALL LICENSE KNOWN-BUGS README TODO -} diff --git a/net-p2p/mutella/mutella-0.4.ebuild b/net-p2p/mutella/mutella-0.4.ebuild deleted file mode 100644 index aeae83618903..000000000000 --- a/net-p2p/mutella/mutella-0.4.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/mutella-0.4.ebuild,v 1.4 2003/02/13 15:21:36 vapier Exp $ - -DESCRIPTION="Text-mode gnutella client" -SRC_URI="mirror://sourceforge/mutella/${P}.tar.gz" -HOMEPAGE="http://mutella.sourceforge.net/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc" - -DEPEND="virtual/glibc - >=sys-libs/readline-4.2" - -src_compile() { - econf - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die "install failed" - dodoc AUTHORS ChangeLog COPYING INSTALL LICENSE KNOWN-BUGS README TODO -} |