diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-06 11:04:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-06 11:04:23 +0800 |
commit | 748b8e181f259e6a1404a5752d4e2920268e9116 (patch) | |
tree | d5b462cc6ca96984c361c8a3360f525ae830bb4b | |
parent | 5f8e5cfc5fd50862b17149452ee1c162485c8428 (diff) | |
download | marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar.gz marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar.bz2 marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar.lz marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar.xz marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.tar.zst marcuscom-ports-748b8e181f259e6a1404a5752d4e2920268e9116.zip |
Fix build on non-CURRENT systems.
Reported by: J. W. Ballantine <jwb@homer.att.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8004 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp b/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp new file mode 100644 index 000000000..baf470649 --- /dev/null +++ b/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp @@ -0,0 +1,11 @@ +--- Src/DasherCore/BasicLog.cpp.orig Tue Dec 5 22:01:38 2006 ++++ Src/DasherCore/BasicLog.cpp Tue Dec 5 22:02:14 2006 +@@ -87,7 +87,7 @@ std::string CBasicLog::GetDateStamp() { + szTimeLine = ctime(&(sTimeBuffer.time)); + #else + gettimeofday(&sTimeBuffer, &sTimezoneBuffer); +- szTimeLine = ctime(&(sTimeBuffer.tv_sec)); ++ szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec)); + #endif + + return std::string(szTimeLine).substr(0, 24); |