pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/audio/portaudio-devel Pullup ticket #5378 - re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c922c417f5a1
branches: pkgsrc-2017Q1
changeset: 360341:c922c417f5a1
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon May 01 09:25:40 2017 +0000
description:
Pullup ticket #5378 - requested by sevan
audio/portaudio-devel: bugfix
Revisions pulled up:
- audio/portaudio-devel/Makefile 1.13
- audio/portaudio-devel/distinfo 1.10
- audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c 1.1
---
Module Name: pkgsrc
Committed By: nat
Date: Thu Apr 27 07:14:01 UTC 2017
Modified Files:
pkgsrc/audio/portaudio-devel: Makefile distinfo
Added Files:
pkgsrc/audio/portaudio-devel/patches:
patch-src_hostapi_oss_pa__unix__oss.c
Log Message:
Don't write an endless stream of silence whilst preparing playback.
Bump PKGREVISION.
Addresses PR kern/52196.
diffstat:
audio/portaudio-devel/Makefile | 3 +-
audio/portaudio-devel/distinfo | 3 +-
audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c | 22 ++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r 6c4f48ad4dd7 -r c922c417f5a1 audio/portaudio-devel/Makefile
--- a/audio/portaudio-devel/Makefile Mon May 01 09:20:17 2017 +0000
+++ b/audio/portaudio-devel/Makefile Mon May 01 09:25:40 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2017/02/22 14:31:26 fhajny Exp $
+# $NetBSD: Makefile,v 1.12.2.1 2017/05/01 09:25:40 bsiegert Exp $
DISTNAME= pa_stable_v190600_20161030
PKGNAME= portaudio-devel-20161030
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .tgz
diff -r 6c4f48ad4dd7 -r c922c417f5a1 audio/portaudio-devel/distinfo
--- a/audio/portaudio-devel/distinfo Mon May 01 09:20:17 2017 +0000
+++ b/audio/portaudio-devel/distinfo Mon May 01 09:25:40 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/02/22 14:31:26 fhajny Exp $
+$NetBSD: distinfo,v 1.9.2.1 2017/05/01 09:25:40 bsiegert Exp $
SHA1 (pa_stable_v190600_20161030.tgz) = 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
RMD160 (pa_stable_v190600_20161030.tgz) = e6e5cd3f3cb7469aa17549c189e445d573567e13
SHA512 (pa_stable_v190600_20161030.tgz) = 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c
Size (pa_stable_v190600_20161030.tgz) = 1450572 bytes
+SHA1 (patch-src_hostapi_oss_pa__unix__oss.c) = 81b6633bdb1cac8d3397bd7ebb6da1e28b68e3df
diff -r 6c4f48ad4dd7 -r c922c417f5a1 audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c Mon May 01 09:25:40 2017 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_hostapi_oss_pa__unix__oss.c,v 1.1.2.2 2017/05/01 09:25:40 bsiegert Exp $
+
+Don't write an endless stream of silence when preparing the stream.
+
+--- src/hostapi/oss/pa_unix_oss.c.orig 2016-10-30 01:23:04.000000000 +0000
++++ src/hostapi/oss/pa_unix_oss.c
+@@ -1479,6 +1479,7 @@ static PaError PaOssStream_Prepare( PaOs
+
+ /* Looks like we have to turn off blocking before we try this, but if we don't fill the buffer
+ * OSS will complain. */
++#ifndef __NetBSD__
+ PA_ENSURE( ModifyBlocking( stream->playback->fd, 0 ) );
+ while (1)
+ {
+@@ -1486,6 +1487,7 @@ static PaError PaOssStream_Prepare( PaOs
+ break;
+ }
+ PA_ENSURE( ModifyBlocking( stream->playback->fd, 1 ) );
++#endif
+ }
+
+ if( stream->sharedDevice )
Home |
Main Index |
Thread Index |
Old Index