diff options
Diffstat (limited to 'editors/dasher/patches/patch-ae')
-rw-r--r-- | editors/dasher/patches/patch-ae | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/editors/dasher/patches/patch-ae b/editors/dasher/patches/patch-ae deleted file mode 100644 index cf1c911e4dc..00000000000 --- a/editors/dasher/patches/patch-ae +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2007/11/05 20:01:00 drochner Exp $ - ---- Src/DasherCore/TimeSpan.cpp.orig 2007-10-15 15:55:01.000000000 +0200 -+++ Src/DasherCore/TimeSpan.cpp -@@ -114,6 +114,7 @@ string CTimeSpan::GetTimeStamp() - #else - struct timeval sTimeBuffer; - struct timezone sTimezoneBuffer; -+ time_t help; /* workaround for bad NetBSD struct timeval */ - #endif - char* szTimeLine = NULL; - -@@ -122,7 +123,8 @@ string CTimeSpan::GetTimeStamp() - szTimeLine = ctime(&(sTimeBuffer.time)); - #else - gettimeofday(&sTimeBuffer, &sTimezoneBuffer); -- szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec)); -+ help = sTimeBuffer.tv_sec; -+ szTimeLine = ctime(&help); - #endif - - if ((szTimeLine != NULL) && (strlen(szTimeLine) > 18)) -@@ -188,6 +190,7 @@ string CTimeSpan::GetDateStamp() - #else - struct timeval sTimeBuffer; - struct timezone sTimezoneBuffer; -+ time_t help; /* workaround for bad NetBSD struct timeval */ - #endif - char* szTimeLine = NULL; - -@@ -196,7 +199,8 @@ string CTimeSpan::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 - - |