summaryrefslogtreecommitdiffstats
path: root/audio/rio/files/patch-ad
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-04-02 02:46:39 +0000
committerimp <imp@FreeBSD.org>2003-04-02 02:46:39 +0000
commit2bedd57212608377a31b2ffc7b279ea24cc9ee09 (patch)
tree3f0e2b569b64fa060b70f925c4e99452b801f9d1 /audio/rio/files/patch-ad
parent9bbd062b63d55bce490cc12678693955d4d1b372 (diff)
downloadFreeBSD-ports-2bedd57212608377a31b2ffc7b279ea24cc9ee09.zip
FreeBSD-ports-2bedd57212608377a31b2ffc7b279ea24cc9ee09.tar.gz
Fix building on -current. Kludge around the ffs issue and use time_t
where a time_t is ment, not a long.
Diffstat (limited to 'audio/rio/files/patch-ad')
-rw-r--r--audio/rio/files/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/rio/files/patch-ad b/audio/rio/files/patch-ad
new file mode 100644
index 0000000..dc64fda
--- /dev/null
+++ b/audio/rio/files/patch-ad
@@ -0,0 +1,20 @@
+--- app.cpp.orig Tue Apr 1 19:32:47 2003
++++ app.cpp Fri Jun 11 10:26:46 1999
+@@ -46,7 +46,7 @@
+ #elif defined(__FreeBSD__)
+ // FreeBSD g++
+ #include <unistd.h>
+- #include <sys/syslimits.h>
++ #include <limits.h>
+ #define SIZE_MAXPATH PATH_MAX
+ #define DELETEARRAY delete[]
+
+@@ -97,7 +97,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;
OpenPOWER on IntegriCloud