diff options
Diffstat (limited to 'audio/rio/patches/patch-aa')
-rw-r--r-- | audio/rio/patches/patch-aa | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/audio/rio/patches/patch-aa b/audio/rio/patches/patch-aa index dac038a66a4..2e39b72c83d 100644 --- a/audio/rio/patches/patch-aa +++ b/audio/rio/patches/patch-aa @@ -1,10 +1,11 @@ -$NetBSD: patch-aa,v 1.2 2000/01/11 11:31:19 agc Exp $ +$NetBSD: patch-aa,v 1.3 2008/08/02 18:32:15 dholland Exp $ Add support for NetBSD and Solaris Make sure the program is being run by effective uid 0 +Bug fix: time_t != long. ---- app.cpp 1999/12/17 17:39:52 1.1 -+++ app.cpp 1999/12/17 17:41:47 +--- app.cpp.orig 1999-06-11 12:26:46.000000000 -0400 ++++ app.cpp 2008-08-02 14:25:08.000000000 -0400 @@ -67,6 +67,20 @@ #define SIZE_MAXPATH MAXPATH #define DELETEARRAY delete @@ -26,7 +27,16 @@ Make sure the program is being run by effective uid 0 #else // not supported #error ! ! compiler/platform not supported ! ! -@@ -519,6 +533,13 @@ +@@ -97,7 +111,7 @@ + + /////////////////////////////////////////////////////////////////////////////// + // return pointer to static string containing datetime +-static char* TimeStr( long lValue ) ++static char* TimeStr( time_t lValue ) + { + static char szBuf[ 64 ]; + struct tm* psDateTime; +@@ -519,6 +533,13 @@ int main( int iCountArg, char* paszArg[] Help(); CLEANUP_RETURN( FALSE ); } |