Date: Sun, 7 Dec 2014 19:25:52 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374223 - in head/audio/rawrec: . files Message-ID: <201412071925.sB7JPqJO074065@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sun Dec 7 19:25:52 2014 New Revision: 374223 URL: https://svnweb.freebsd.org/changeset/ports/374223 QAT: https://qat.redports.org/buildarchive/r374223/ Log: Fix signal handling (runtime exit with invalid argument) on 10.1 - Add missing sa_flags in main.c - Bump PORTREVISION While on it: - Add LICENSE* PR: 195284 Submitted by: antonfb@hesiod.org MFH: 2014Q4 Modified: head/audio/rawrec/Makefile head/audio/rawrec/files/patch-main.c Modified: head/audio/rawrec/Makefile ============================================================================== --- head/audio/rawrec/Makefile Sun Dec 7 19:19:16 2014 (r374222) +++ head/audio/rawrec/Makefile Sun Dec 7 19:25:52 2014 (r374223) @@ -3,6 +3,7 @@ PORTNAME= rawrec PORTVERSION= 0.9.991 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SUNSITE:S/%SUBDIR%/apps\/sound\/recorders/} \ SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -10,6 +11,9 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE:S/%S MAINTAINER= ports@FreeBSD.org COMMENT= Utility to record and playback raw audio data +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKDIR}/${DISTNAME}/copyright + WRKSRC= ${WRKDIR}/${DISTNAME}/src USES= gmake Modified: head/audio/rawrec/files/patch-main.c ============================================================================== --- head/audio/rawrec/files/patch-main.c Sun Dec 7 19:19:16 2014 (r374222) +++ head/audio/rawrec/files/patch-main.c Sun Dec 7 19:25:52 2014 (r374223) @@ -1,5 +1,5 @@ ---- main.c.orig Wed May 10 17:27:08 2006 -+++ main.c Wed May 10 17:30:21 2006 +--- main.c.orig 2006-01-22 03:40:17.000000000 +0100 ++++ main.c 2014-12-07 19:14:39.778784753 +0100 @@ -14,6 +14,12 @@ #include "rawrec.h" @@ -13,3 +13,11 @@ int main(int argc, char *argv[]) { /* Action for ignoring signals we don't want to deal with. */ +@@ -118,6 +124,7 @@ + strncpy(cnst_dflt_format, "s16_le", (size_t) (MAX_FORMAT_STRING_LENGTH + 1)); + + /* at the moment, this application goes with the default for most signals */ ++ ignorer_act.sa_flags = 0; + ignorer_act.sa_handler = SIG_IGN; + /* because I'm unclear on how SIGIO is supposed to work, it's not + applicable here, and I'm paranoid */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412071925.sB7JPqJO074065>