From owner-svn-ports-branches@freebsd.org Thu Jan 3 20:27:10 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46BE31436419; Thu, 3 Jan 2019 20:27:10 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF8F38E63B; Thu, 3 Jan 2019 20:27:09 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BCFEC26584; Thu, 3 Jan 2019 20:27:09 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x03KR9Mv074430; Thu, 3 Jan 2019 20:27:09 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x03KR9Eb074429; Thu, 3 Jan 2019 20:27:09 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201901032027.x03KR9Eb074429@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Thu, 3 Jan 2019 20:27:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r489220 - in branches/2019Q1/audio/jack: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: riggs X-SVN-Commit-Paths: in branches/2019Q1/audio/jack: . files X-SVN-Commit-Revision: 489220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DF8F38E63B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 20:27:10 -0000 Author: riggs Date: Thu Jan 3 20:27:09 2019 New Revision: 489220 URL: https://svnweb.freebsd.org/changeset/ports/489220 Log: MFH: r489219 Fix SIGBUS with 24 bit content over OSS output PR: 234574 Submitted by: dev@submerge.ch Approved by: ports-secteam (riggs) Added: branches/2019Q1/audio/jack/files/patch-libjack_port.c - copied unchanged from r489219, head/audio/jack/files/patch-libjack_port.c Modified: branches/2019Q1/audio/jack/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/audio/jack/Makefile ============================================================================== --- branches/2019Q1/audio/jack/Makefile Thu Jan 3 20:24:30 2019 (r489219) +++ branches/2019Q1/audio/jack/Makefile Thu Jan 3 20:27:09 2019 (r489220) @@ -3,7 +3,7 @@ PORTNAME= jackit PORTVERSION= 0.125.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MAINTAINER= multimedia@FreeBSD.org @@ -21,6 +21,7 @@ LIB_DEPENDS= libsndfile.so:audio/libsndfile \ USES= autoreconf compiler:c11 gmake pathfix pkgconfig libtool localbase bdb USE_GITHUB= yes + GH_ACCOUNT= jackaudio GH_PROJECT= jack1 GH_TAGNAME= 90f9dd3 Copied: branches/2019Q1/audio/jack/files/patch-libjack_port.c (from r489219, head/audio/jack/files/patch-libjack_port.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q1/audio/jack/files/patch-libjack_port.c Thu Jan 3 20:27:09 2019 (r489220, copy of r489219, head/audio/jack/files/patch-libjack_port.c) @@ -0,0 +1,26 @@ +--- libjack/port.c.orig 2019-01-02 01:51:31 UTC ++++ libjack/port.c +@@ -630,13 +630,22 @@ jack_port_get_buffer (jack_port_t *port, jack_nframes_ + size_t + jack_port_type_buffer_size (jack_port_type_info_t* port_type_info, jack_nframes_t nframes) + { ++ size_t size; ++ + if ( port_type_info->buffer_scale_factor < 0 ) { + return port_type_info->buffer_size; + } + +- return port_type_info->buffer_scale_factor ++ size = port_type_info->buffer_scale_factor + * sizeof(jack_default_audio_sample_t) + * nframes; ++ ++#ifdef USE_DYNSIMD ++ /* Round up to the next multiple of 16 bytes, align buffers for SIMD. */ ++ size = (size + 15) & (~ (size_t)0x0f); ++#endif /* USE_DYNSIMD */ ++ ++ return size; + } + + int