Date: Mon, 8 Dec 2014 06:21:13 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r374233 - in branches/2014Q4/audio/rawrec: . files Message-ID: <201412080621.sB86LDov003983@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Mon Dec 8 06:21:13 2014 New Revision: 374233 URL: https://svnweb.freebsd.org/changeset/ports/374233 QAT: https://qat.redports.org/buildarchive/r374233/ Log: MFH: r374223 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 Approved by: ports-secteam (delphij) Modified: branches/2014Q4/audio/rawrec/Makefile branches/2014Q4/audio/rawrec/files/patch-main.c Directory Properties: branches/2014Q4/ (props changed) Modified: branches/2014Q4/audio/rawrec/Makefile ============================================================================== --- branches/2014Q4/audio/rawrec/Makefile Mon Dec 8 02:42:48 2014 (r374232) +++ branches/2014Q4/audio/rawrec/Makefile Mon Dec 8 06:21:13 2014 (r374233) @@ -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: branches/2014Q4/audio/rawrec/files/patch-main.c ============================================================================== --- branches/2014Q4/audio/rawrec/files/patch-main.c Mon Dec 8 02:42:48 2014 (r374232) +++ branches/2014Q4/audio/rawrec/files/patch-main.c Mon Dec 8 06:21:13 2014 (r374233) @@ -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?201412080621.sB86LDov003983>