diff options
author | Steve Price <steve@FreeBSD.org> | 1999-09-20 02:19:51 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-09-20 02:19:51 +0000 |
commit | a5f86a1b947b18ebb7cf7bec8f6bcb6739704229 (patch) | |
tree | 5c01534cd3cef16316359632d807887d6d1b0c69 /audio/rio | |
parent | 6989cf7c1996a2c4561dc74ef4e5685394a0df7c (diff) | |
download | ports-a5f86a1b947b18ebb7cf7bec8f6bcb6739704229.tar.gz ports-a5f86a1b947b18ebb7cf7bec8f6bcb6739704229.zip |
Notes
Diffstat (limited to 'audio/rio')
-rw-r--r-- | audio/rio/files/patch-aa | 27 | ||||
-rw-r--r-- | audio/rio/files/patch-ac | 29 |
2 files changed, 51 insertions, 5 deletions
diff --git a/audio/rio/files/patch-aa b/audio/rio/files/patch-aa index afd3b1dc93dc..48f9f07f7d3e 100644 --- a/audio/rio/files/patch-aa +++ b/audio/rio/files/patch-aa @@ -1,10 +1,10 @@ -*** app.cpp Mon Feb 1 17:55:34 1999 ---- rio.bsd/app.cpp Sat Feb 6 21:00:07 1999 +*** app.cpp.orig Mon Mar 15 06:53:16 1999 +--- app.cpp Sat Sep 18 15:13:44 1999 *************** -*** 27,32 **** ---- 27,39 ---- - #include <stdlib.h> +*** 30,35 **** +--- 30,42 ---- #define SIZE_MAXPATH _MAX_PATH + #define DELETEARRAY delete[] + #elif defined(__FreeBSD__) + // FreeBSD g++ @@ -16,3 +16,20 @@ #elif defined(__linux__) // linux g++ #include <unistd.h> +*************** +*** 81,87 **** + { + static char szBuf[ 64 ]; + struct tm* psDateTime; +! psDateTime = localtime( &lValue ); + + if ( !psDateTime ) + strcpy( szBuf, "INVALID DATE/TIME" ); +--- 88,94 ---- + { + static char szBuf[ 64 ]; + struct tm* psDateTime; +! psDateTime = localtime( (time_t *)&lValue ); + + if ( !psDateTime ) + strcpy( szBuf, "INVALID DATE/TIME" ); diff --git a/audio/rio/files/patch-ac b/audio/rio/files/patch-ac new file mode 100644 index 000000000000..a9a41b5e163e --- /dev/null +++ b/audio/rio/files/patch-ac @@ -0,0 +1,29 @@ +*** makefile.orig Sat Sep 18 15:19:53 1999 +--- makefile Sat Sep 18 15:20:20 1999 +*************** +*** 6,15 **** + # + ############################################################################### + + all: rio + + rio: app.cpp rio.cpp +! g++ -O1 -o rio app.cpp rio.cpp + chmod +s rio + + clean: +--- 6,19 ---- + # + ############################################################################### + ++ .if ${MACHINE_ARCH} == "alpha" ++ LDADD= -lio ++ .endif ++ + all: rio + + rio: app.cpp rio.cpp +! g++ -O1 -o rio app.cpp rio.cpp ${LDADD} + chmod +s rio + + clean: |