pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/portaudio
Module Name: pkgsrc
Committed By: nia
Date: Tue Jun 14 14:18:45 UTC 2022
Modified Files:
pkgsrc/audio/portaudio: Makefile distinfo
pkgsrc/audio/portaudio/patches: patch-src_hostapi_oss_pa__unix__oss.c
patch-src_hostapi_sun_pa__unix__sun.c
Log Message:
portaudio: Fix a floating point exception preventing Audacity from
starting on NetBSD under some circumstances.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/audio/portaudio/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/audio/portaudio/distinfo
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c \
pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.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/Makefile
diff -u pkgsrc/audio/portaudio/Makefile:1.35 pkgsrc/audio/portaudio/Makefile:1.36
--- pkgsrc/audio/portaudio/Makefile:1.35 Mon Mar 28 10:43:38 2022
+++ pkgsrc/audio/portaudio/Makefile Tue Jun 14 14:18:45 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2022/03/28 10:43:38 tnn Exp $
+# $NetBSD: Makefile,v 1.36 2022/06/14 14:18:45 nia Exp $
DISTNAME= pa_stable_v190600_20161030
PKGNAME= ${DISTNAME:S/^pa_stable_v/portaudio-/1:S/_/./g}
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .tgz
Index: pkgsrc/audio/portaudio/distinfo
diff -u pkgsrc/audio/portaudio/distinfo:1.28 pkgsrc/audio/portaudio/distinfo:1.29
--- pkgsrc/audio/portaudio/distinfo:1.28 Tue Oct 26 09:59:23 2021
+++ pkgsrc/audio/portaudio/distinfo Tue Jun 14 14:18:45 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2021/10/26 09:59:23 nia Exp $
+$NetBSD: distinfo,v 1.29 2022/06/14 14:18:45 nia Exp $
BLAKE2s (pa_stable_v190600_20161030.tgz) = 19c45436985da2c2ff7a4f016c7ae9dcb0772b43ffa3356961a2a98cacdb24d9
SHA512 (pa_stable_v190600_20161030.tgz) = 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c
@@ -12,6 +12,6 @@ SHA1 (patch-src_common_pa__front.c) = cd
SHA1 (patch-src_common_pa__stream.c) = 58e6ab2a61957208973a59be2f1140abc922f360
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) = bab9b21d35d76afafa06c929bb35954d3870bc0d
+SHA1 (patch-src_hostapi_oss_pa__unix__oss.c) = 785b6ba7fc89cf973c992541ee79a045a5c40707
+SHA1 (patch-src_hostapi_sun_pa__unix__sun.c) = 1e54e4fb75f15e74d931a11ee157beaae9a5f917
SHA1 (patch-src_os_unix_pa__unix__hostapis.c) = 8cfc7d7aac8f9803e204711ded3d64842913f4fd
Index: pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c
diff -u pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c:1.4 pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c:1.5
--- pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c:1.4 Wed Apr 15 17:12:14 2020
+++ pkgsrc/audio/portaudio/patches/patch-src_hostapi_oss_pa__unix__oss.c Tue Jun 14 14:18:45 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_hostapi_oss_pa__unix__oss.c,v 1.4 2020/04/15 17:12:14 nia Exp $
+$NetBSD: patch-src_hostapi_oss_pa__unix__oss.c,v 1.5 2022/06/14 14:18:45 nia Exp $
- Add 24-bit and 32-bit sample formats.
- NetBSD-specific changes to make this map better to the emulation layer:
@@ -30,6 +30,15 @@ $NetBSD: patch-src_hostapi_oss_pa__unix_
ENSURE_( ioctl( devHandle, SNDCTL_DSP_SPEED, &sr ), paUnanticipatedHostError );
*defaultSampleRate = sr;
+@@ -756,7 +761,7 @@ static PaError PaOssStreamComponent_Init
+ component->devName = deviceName;
+ component->userChannelCount = parameters->channelCount;
+ component->userFormat = parameters->sampleFormat;
+- component->latency = parameters->suggestedLatency;
++ component->latency = parameters->suggestedLatency > 0 ? parameters->suggestedLatency : 1;
+ component->userInterleaved = !(parameters->sampleFormat & paNonInterleaved);
+
+ if( !callbackMode && !component->userInterleaved )
@@ -938,6 +943,16 @@ static PaError Pa2OssFormat( PaSampleFor
case paInt16:
*ossFormat = AFMT_S16_NE;
Index: pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c
diff -u pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c:1.4 pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c:1.5
--- pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c:1.4 Thu Sep 9 21:42:00 2021
+++ pkgsrc/audio/portaudio/patches/patch-src_hostapi_sun_pa__unix__sun.c Tue Jun 14 14:18:45 2022
@@ -1,8 +1,10 @@
-$NetBSD: patch-src_hostapi_sun_pa__unix__sun.c,v 1.4 2021/09/09 21:42:00 nia Exp $
+$NetBSD: patch-src_hostapi_sun_pa__unix__sun.c,v 1.5 2022/06/14 14:18:45 nia Exp $
Sun/NetBSD audio support.
---- src/hostapi/sun/pa_unix_sun.c.orig 2021-09-09 21:10:47.132269006 +0000
+This is upstreamed to GitHub.
+
+--- src/hostapi/sun/pa_unix_sun.c.orig 2022-06-14 14:03:33.619499935 +0000
+++ src/hostapi/sun/pa_unix_sun.c
@@ -0,0 +1,1123 @@
+/*
Home |
Main Index |
Thread Index |
Old Index