diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-12-26 08:30:41 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-12-26 08:30:41 +0000 |
commit | 765c5dd3b8152ec1a2ba272c3526bc2aa321115a (patch) | |
tree | 949522b1a7e447c7920959d5658f9164639983df /net-im/licq/files | |
parent | add bug number (diff) | |
download | gentoo-2-765c5dd3b8152ec1a2ba272c3526bc2aa321115a.tar.gz gentoo-2-765c5dd3b8152ec1a2ba272c3526bc2aa321115a.tar.bz2 gentoo-2-765c5dd3b8152ec1a2ba272c3526bc2aa321115a.zip |
bug #12623 (c++ fix)
Diffstat (limited to 'net-im/licq/files')
-rw-r--r-- | net-im/licq/files/1.2.0a-gcc3-gentoo.patch | 51 | ||||
-rw-r--r-- | net-im/licq/files/digest-licq-1.2.0a-r3 | 1 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-im/licq/files/1.2.0a-gcc3-gentoo.patch b/net-im/licq/files/1.2.0a-gcc3-gentoo.patch new file mode 100644 index 000000000000..6b751847b07d --- /dev/null +++ b/net-im/licq/files/1.2.0a-gcc3-gentoo.patch @@ -0,0 +1,51 @@ +diff -ur licq-1.2.0a/src/icqd-filetransfer.cpp licq-1.2.0a~/src/icqd-filetransfer.cpp +--- licq-1.2.0a/src/icqd-filetransfer.cpp 2002-07-25 21:21:11.000000000 -0500 ++++ licq-1.2.0a~/src/icqd-filetransfer.cpp 2002-12-25 13:16:06.000000000 -0600 +@@ -377,7 +377,7 @@ + m_nSpeed = b.UnpackUnsignedLong(); + b.UnpackString(m_szRemoteName, sizeof(m_szRemoteName)); + +- m_nBatchStartTime = time(TIME_NOW); ++ m_nBatchStartTime = time(NULL); + m_nBatchBytesTransfered = m_nBatchPos = 0; + + PushFileTransferEvent(FT_STARTxBATCH); +@@ -451,7 +451,7 @@ + // if this is the first call to this function... + if (m_nBytesTransfered == 0) + { +- m_nStartTime = time(TIME_NOW); ++ m_nStartTime = time(NULL); + m_nBatchPos += m_nFilePos; + gLog.Info("%sFile Transfer: Receiving %s (%ld bytes).\n", L_TCPxSTR, + m_szFileName, m_nFileSize); +@@ -569,7 +569,7 @@ + m_nFileSize = p.GetFileSize(); + strcpy(m_szFileName, p.GetFileName()); + +- m_nBatchStartTime = time(TIME_NOW); ++ m_nBatchStartTime = time(NULL); + m_nBatchBytesTransfered = m_nBatchPos = 0; + + PushFileTransferEvent(FT_STARTxBATCH); +@@ -722,7 +722,7 @@ + + if (m_nBytesTransfered == 0) + { +- m_nStartTime = time(TIME_NOW); ++ m_nStartTime = time(NULL); + m_nBatchPos += m_nFilePos; + gLog.Info("%sFile Transfer: Sending %s (%ld bytes).\n", L_TCPxSTR, + m_szPathName, m_nFileSize); +diff -ur licq-1.2.0a/src/licq.cpp licq-1.2.0a~/src/licq.cpp +--- licq-1.2.0a/src/licq.cpp 2002-07-22 22:59:24.000000000 -0500 ++++ licq-1.2.0a~/src/licq.cpp 2002-12-25 13:15:09.000000000 -0600 +@@ -681,7 +681,7 @@ + if (bDaemonShutdown) + { + struct timespec abstime; +- abstime.tv_sec = time(TIME_NOW) + MAX_WAIT_PLUGIN; ++ abstime.tv_sec = time(NULL) + (time_t) MAX_WAIT_PLUGIN; + abstime.tv_nsec = 0; + if (pthread_cond_timedwait(&LP_IdSignal, &LP_IdMutex, &abstime) == ETIMEDOUT) + break; diff --git a/net-im/licq/files/digest-licq-1.2.0a-r3 b/net-im/licq/files/digest-licq-1.2.0a-r3 new file mode 100644 index 000000000000..7b91e3648cbf --- /dev/null +++ b/net-im/licq/files/digest-licq-1.2.0a-r3 @@ -0,0 +1 @@ +MD5 3f977d83b36b26d1bc716be3e3336315 licq-1.2.0a.tar.bz2 1741476 |