summaryrefslogtreecommitdiff
path: root/editors/dasher/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'editors/dasher/patches/patch-ac')
-rw-r--r--editors/dasher/patches/patch-ac22
1 files changed, 0 insertions, 22 deletions
diff --git a/editors/dasher/patches/patch-ac b/editors/dasher/patches/patch-ac
deleted file mode 100644
index de3fb4c1276..00000000000
--- a/editors/dasher/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2007/11/05 20:01:00 drochner Exp $
-
---- Src/DasherCore/BasicLog.cpp.orig 2007-10-15 15:55:00.000000000 +0200
-+++ Src/DasherCore/BasicLog.cpp
-@@ -79,6 +79,7 @@ std::string CBasicLog::GetDateStamp() {
- #else
- struct timeval sTimeBuffer;
- struct timezone sTimezoneBuffer;
-+ time_t help; /* workaround for bad NetBSD struct timeval */
- #endif
- char* szTimeLine = NULL;
-
-@@ -87,7 +88,8 @@ std::string CBasicLog::GetDateStamp() {
- szTimeLine = ctime(&(sTimeBuffer.time));
- #else
- gettimeofday(&sTimeBuffer, &sTimezoneBuffer);
-- szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec));
-+ help = sTimeBuffer.tv_sec;
-+ szTimeLine = ctime(&help);
- #endif
-
- return std::string(szTimeLine).substr(0, 24);