diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-05-11 12:40:29 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-05-11 12:40:29 +0000 |
commit | eb8c7516acd87eabaf701dbf6a6600d6bc39eca7 (patch) | |
tree | 6e512eba383136ffc3df56e987979902b68b2e1f /audio/rawrec | |
parent | Update to 1.0.1 (diff) |
Update to 0.9.991
Pass maintainership to submitter.
PR: ports/97117
Submitted by: Rainer Alves <rainer.alves@gmail.com>
Approved by: lawrance (mentor)
Diffstat (limited to 'audio/rawrec')
-rw-r--r-- | audio/rawrec/Makefile | 5 | ||||
-rw-r--r-- | audio/rawrec/distinfo | 6 | ||||
-rw-r--r-- | audio/rawrec/files/patch-main.c | 15 | ||||
-rw-r--r-- | audio/rawrec/files/patch-play.c | 20 | ||||
-rw-r--r-- | audio/rawrec/files/patch-record.c | 18 |
5 files changed, 47 insertions, 17 deletions
diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile index 49a58d9cc076..8e02aa0837d5 100644 --- a/audio/rawrec/Makefile +++ b/audio/rawrec/Makefile @@ -7,8 +7,7 @@ # PORTNAME= rawrec -PORTVERSION= 0.9.98 -PORTREVISION= 1 +PORTVERSION= 0.9.991 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SUNSITE:S/$/:sun/} \ ${MASTER_SITE_SOURCEFORGE:S/$/:sf/} @@ -16,7 +15,7 @@ MASTER_SITE_SUBDIR= apps/sound/recorders/:sun \ ${PORTNAME}/:sf DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sun,sf -MAINTAINER= ports@FreeBSD.org +MAINTAINER= rainer.alves@gmail.com COMMENT= A utility to record and playback raw audio data WRKSRC= ${WRKDIR}/${DISTNAME}/src diff --git a/audio/rawrec/distinfo b/audio/rawrec/distinfo index 30e6dde886ce..2c26cd2969d1 100644 --- a/audio/rawrec/distinfo +++ b/audio/rawrec/distinfo @@ -1,3 +1,3 @@ -MD5 (rawrec-0.9.98.tar.gz) = 15a26258853cf061e9b7e5a81f147528 -SHA256 (rawrec-0.9.98.tar.gz) = 63e237a97f9c20c904d0b905904ef9068cc8707f96fa8c35576e820d048a45ce -SIZE (rawrec-0.9.98.tar.gz) = 60989 +MD5 (rawrec-0.9.991.tar.gz) = 96ef262d674dd936d866e68f86c926da +SHA256 (rawrec-0.9.991.tar.gz) = 1b65d65ae5f11650cc9cd2c10d54ac379eaaa802b89b08423b6a95046faac03f +SIZE (rawrec-0.9.991.tar.gz) = 62134 diff --git a/audio/rawrec/files/patch-main.c b/audio/rawrec/files/patch-main.c new file mode 100644 index 000000000000..d0d41aeed4c5 --- /dev/null +++ b/audio/rawrec/files/patch-main.c @@ -0,0 +1,15 @@ +--- main.c.orig Wed May 10 17:27:08 2006 ++++ main.c Wed May 10 17:30:21 2006 +@@ -14,6 +14,12 @@ + + #include "rawrec.h" + ++size_t strnlen (const char *string, size_t maxlen) ++{ ++ const char *end = memchr (string, '\0', maxlen); ++ return end ? (size_t) (end - string) : maxlen; ++} ++ + int main(int argc, char *argv[]) + { + /* Action for ignoring signals we don't want to deal with. */ diff --git a/audio/rawrec/files/patch-play.c b/audio/rawrec/files/patch-play.c index 1fa7de9d7a79..c2459d06fc66 100644 --- a/audio/rawrec/files/patch-play.c +++ b/audio/rawrec/files/patch-play.c @@ -1,6 +1,14 @@ ---- play.c.orig Fri Nov 29 03:33:21 2002 -+++ play.c Thu Sep 4 22:13:08 2003 -@@ -263,6 +263,10 @@ +--- play.c.orig Sun Jan 22 00:40:17 2006 ++++ play.c Wed May 10 17:31:34 2006 +@@ -54,7 +54,6 @@ + int rtn; /* For return values of pthread fctns. */ + /* Maximum priority of FIFO thread. Should always be initialized + elsewhere before use. */ +- int fifo_max_prio = 0; + void *au_th_ret; /* Audio thread return pointer. */ + void *fd_th_ret; /* File thread return pointer. */ + sigset_t all_sigs; /* Full set of all signals. */ +@@ -263,6 +262,10 @@ PTHREAD_CREATE_JOINABLE)) ) { err_die("BUG: pthread_attr_setdetachstate failed: %s\n", strerror(rtn)); } @@ -11,7 +19,7 @@ #if defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ && _POSIX_THREAD_PRIORITY_SCHEDULING != -1 \ && _POSIX_THREAD_PRIORITY_SCHEDULING != 0 -@@ -282,6 +286,8 @@ +@@ -282,6 +285,8 @@ err_die("BUG: pthread_attr_setscope failed: %s\n", strerror(rtn)); } #endif @@ -20,7 +28,7 @@ if ( (rtn = pthread_attr_init(&move_fd_attr)) ) err_die("BUG: pthread_attr_init failed: %s\n", strerror(rtn)); if ( (rtn = pthread_attr_setdetachstate(&move_fd_attr, -@@ -289,6 +295,9 @@ +@@ -289,6 +294,9 @@ err_die("BUG: pthread_attr_setdetachstate failed: %s\n", strerror(rtn)); } @@ -30,7 +38,7 @@ #if defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ && _POSIX_THREAD_PRIORITY_SCHEDULING != -1 \ && _POSIX_THREAD_PRIORITY_SCHEDULING != 0 -@@ -306,7 +315,7 @@ +@@ -306,7 +314,7 @@ err_die("BUG: pthread_attr_setscope failed: %s\n", strerror(rtn)); } #endif diff --git a/audio/rawrec/files/patch-record.c b/audio/rawrec/files/patch-record.c index e6ab7e0abf65..8f4b4eca6bf6 100644 --- a/audio/rawrec/files/patch-record.c +++ b/audio/rawrec/files/patch-record.c @@ -1,6 +1,14 @@ ---- record.c.orig Fri Nov 29 03:33:21 2002 -+++ record.c Thu Sep 4 22:12:48 2003 -@@ -185,6 +185,10 @@ +--- record.c.orig Sun Jan 22 00:40:17 2006 ++++ record.c Wed May 10 17:31:45 2006 +@@ -43,7 +43,6 @@ + int rtn; /* For return values of pthread fctns. */ + /* Maximum priority of FIFO thread. Should always be rinitialized + elsewhere before use. */ +- int fifo_max_prio = 0; + void *au_th_ret; /* Audio thread return pointer. */ + void *fd_th_ret; /* File thread return pointer. */ + sigset_t all_sigs; /* Full set of all signals. */ +@@ -183,6 +182,10 @@ PTHREAD_CREATE_JOINABLE)) ) { err_die("BUG: pthread_attr_setdetachstate failed: %s\n", strerror(rtn)); } @@ -11,7 +19,7 @@ #if defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ && _POSIX_THREAD_PRIORITY_SCHEDULING != -1 \ && _POSIX_THREAD_PRIORITY_SCHEDULING != 0 -@@ -204,12 +208,17 @@ +@@ -202,12 +205,17 @@ err_die("BUG: pthread_attr_setscope failed: %s\n", strerror(rtn)); } #endif @@ -29,7 +37,7 @@ #if defined (_POSIX_THREAD_PRIORITY_SCHEDULING) \ && _POSIX_THREAD_PRIORITY_SCHEDULING != -1 \ && _POSIX_THREAD_PRIORITY_SCHEDULING != 0 -@@ -227,6 +236,7 @@ +@@ -225,6 +233,7 @@ err_die("BUG: pthread_attr_setscope failed: %s\n", strerror(rtn)); } #endif |