pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/portaudio-devel



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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/portaudio-devel/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/portaudio-devel/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/portaudio-devel/Makefile
diff -u pkgsrc/audio/portaudio-devel/Makefile:1.12 pkgsrc/audio/portaudio-devel/Makefile:1.13
--- pkgsrc/audio/portaudio-devel/Makefile:1.12  Wed Feb 22 14:31:26 2017
+++ pkgsrc/audio/portaudio-devel/Makefile       Thu Apr 27 07:14:01 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2017/02/22 14:31:26 fhajny Exp $
+# $NetBSD: Makefile,v 1.13 2017/04/27 07:14:01 nat Exp $
 
 DISTNAME=      pa_stable_v190600_20161030
 PKGNAME=       portaudio-devel-20161030
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  http://www.portaudio.com/archives/
 EXTRACT_SUFX=  .tgz

Index: pkgsrc/audio/portaudio-devel/distinfo
diff -u pkgsrc/audio/portaudio-devel/distinfo:1.9 pkgsrc/audio/portaudio-devel/distinfo:1.10
--- pkgsrc/audio/portaudio-devel/distinfo:1.9   Wed Feb 22 14:31:26 2017
+++ pkgsrc/audio/portaudio-devel/distinfo       Thu Apr 27 07:14:01 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/02/22 14:31:26 fhajny Exp $
+$NetBSD: distinfo,v 1.10 2017/04/27 07:14:01 nat 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

Added files:

Index: pkgsrc/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c
diff -u /dev/null pkgsrc/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c:1.1
--- /dev/null   Thu Apr 27 07:14:01 2017
+++ pkgsrc/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c  Thu Apr 27 07:14:01 2017
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_hostapi_oss_pa__unix__oss.c,v 1.1 2017/04/27 07:14:01 nat 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