pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc Fix Sun/NetBSD audio support. uaudio(4) record-onl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c5dcdbf559f3
branches: trunk
changeset: 445166:c5dcdbf559f3
user: reinoud <reinoud%pkgsrc.org@localhost>
date: Sat Jan 16 21:06:52 2021 +0000
description:
Fix Sun/NetBSD audio support. uaudio(4) record-only audio devices would not
allow to be opened write-only and the logic would then skip to the next
device.
diffstat:
audio/portaudio/Makefile | 4 +-
audio/portaudio/distinfo | 4 +-
audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c | 14 ++++++----
doc/CHANGES-2021 | 3 +-
4 files changed, 14 insertions(+), 11 deletions(-)
diffs (76 lines):
diff -r e1f628adece2 -r c5dcdbf559f3 audio/portaudio/Makefile
--- a/audio/portaudio/Makefile Sat Jan 16 20:50:04 2021 +0000
+++ b/audio/portaudio/Makefile Sat Jan 16 21:06:52 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2020/08/18 17:57:25 leot Exp $
+# $NetBSD: Makefile,v 1.32 2021/01/16 21:06:52 reinoud Exp $
DISTNAME= pa_stable_v190600_20161030
PKGNAME= ${DISTNAME:S/^pa_stable_v/portaudio-/1:S/_/./g}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .tgz
diff -r e1f628adece2 -r c5dcdbf559f3 audio/portaudio/distinfo
--- a/audio/portaudio/distinfo Sat Jan 16 20:50:04 2021 +0000
+++ b/audio/portaudio/distinfo Sat Jan 16 21:06:52 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2020/04/25 10:18:09 nia Exp $
+$NetBSD: distinfo,v 1.25 2021/01/16 21:06:52 reinoud Exp $
SHA1 (pa_stable_v190600_20161030.tgz) = 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
RMD160 (pa_stable_v190600_20161030.tgz) = e6e5cd3f3cb7469aa17549c189e445d573567e13
@@ -14,5 +14,5 @@
SHA1 (patch-src_common_pa__stream.h) = 94781a9ae79ea1340eea8caadc106416c019cf74
SHA1 (patch-src_hostapi_alsa_pa__linux__alsa.c) = 71daf913422f72aa379ae8cc302186800cff7717
SHA1 (patch-src_hostapi_oss_pa__unix__oss.c) = 572c48f64104e22e7ae49acc54a26e549e381b5b
-SHA1 (patch-src_hostapi_sun_pa__unix__sun.c) = 0bb6657adc268872c9e4c1b05b103ec8df357788
+SHA1 (patch-src_hostapi_sun_pa__unix__sun.c) = 0a2d26e477bb4c45d56b8d70db5a939911f4cf64
SHA1 (patch-src_os_unix_pa__unix__hostapis.c) = 8cfc7d7aac8f9803e204711ded3d64842913f4fd
diff -r e1f628adece2 -r c5dcdbf559f3 audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c
--- a/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c Sat Jan 16 20:50:04 2021 +0000
+++ b/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c Sat Jan 16 21:06:52 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_hostapi_sun_pa__unix__sun.c,v 1.2 2020/04/25 10:18:09 nia Exp $
+$NetBSD: patch-src_hostapi_sun_pa__unix__sun.c,v 1.3 2021/01/16 21:06:52 reinoud Exp $
Sun/NetBSD audio support.
---- src/hostapi/sun/pa_unix_sun.c.orig 2020-04-25 09:39:40.448044879 +0000
+--- src/hostapi/sun/pa_unix_sun.c.orig 2021-01-16 19:57:35.080979704 +0000
+++ src/hostapi/sun/pa_unix_sun.c
-@@ -0,0 +1,1138 @@
+@@ -0,0 +1,1140 @@
+/*
+ * $Id"
+ * PortAudio Portable Real-Time Audio Library
@@ -201,9 +201,11 @@
+ else
+ (void)snprintf(path, sizeof(path), SUN_DEV_DEFAULT);
+
-+ if( (fd = open(path, O_WRONLY | O_NONBLOCK)) < 0 ||
-+ (fd = open(path, O_RDONLY | O_NONBLOCK)) < 0 )
-+ continue;
++ fd = open(path, O_WRONLY | O_NONBLOCK);
++ if (fd < 0)
++ fd = open(path, O_RDONLY | O_NONBLOCK);
++ if (fd < 0)
++ continue;
+
+ PA_UNLESS(dev = PaUtil_GroupAllocateMemory(sunHostApi->allocations, sizeof(PaDeviceInfo)), paInsufficientMemory);
+
diff -r e1f628adece2 -r c5dcdbf559f3 doc/CHANGES-2021
--- a/doc/CHANGES-2021 Sat Jan 16 20:50:04 2021 +0000
+++ b/doc/CHANGES-2021 Sat Jan 16 21:06:52 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2021,v 1.456 2021/01/16 20:40:20 khorben Exp $
+$NetBSD: CHANGES-2021,v 1.457 2021/01/16 21:08:58 reinoud Exp $
Changes to the packages collection and infrastructure in 2021:
@@ -574,3 +574,4 @@
Updated devel/py-hg-git to 0.9.0nb1 [maya 2021-01-16]
Updated net/Radicale to 1.1.4nb3 [maya 2021-01-16]
Added print/py-octoprint-filecheck version 2020.08.07 [khorben 2021-01-16]
+ Updated audio/portaudio to version portaudio-190600.20161030nb7 [reinoud 2021-01-16]
Home |
Main Index |
Thread Index |
Old Index