1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Update to 0.9.991

Pass maintainership to submitter.

PR:		ports/97117
Submitted by:	Rainer Alves <rainer.alves@gmail.com>
Approved by:	lawrance (mentor)
This commit is contained in:
Ion-Mihai Tetcu 2006-05-11 12:40:29 +00:00
parent 1bee9a2bb8
commit eb8c7516ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162078
5 changed files with 47 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -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. */

View File

@ -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

View File

@ -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