Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2019 20:27:09 +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: r489220 - in branches/2019Q1/audio/jack: . files
Message-ID:  <201901032027.x03KR9Eb074429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901032027.x03KR9Eb074429>