pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/audio/timidity Pullup ticket #5229 - requested...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e2da3d4d577
branches: pkgsrc-2017Q1
changeset: 360206:4e2da3d4d577
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Apr 01 18:45:28 2017 +0000
description:
Pullup ticket #5229 - requested by sevan
audio/timidity: bugfix
Revisions pulled up:
- audio/timidity/Makefile 1.105
- audio/timidity/distinfo 1.19
- audio/timidity/patches/patch-ac 1.6
- audio/timidity/patches/patch-timidity_midi_a__c.c 1.2
- audio/timidity/patches/patch-timidity_sun__a.c 1.1
---
Module Name: pkgsrc
Committed By: nat
Date: Thu Mar 30 18:44:13 UTC 2017
Modified Files:
pkgsrc/audio/timidity: Makefile distinfo
pkgsrc/audio/timidity/patches: patch-ac patch-timidity_midi_a__c.c
Added Files:
pkgsrc/audio/timidity/patches: patch-timidity_sun__a.c
Log Message:
Fix playback on NetBSD-current as of 20170322. Ensure that the audioctl
device operates on the correct channel.
Addresses PR kern/52075.
Bump PKGREVISION.
diffstat:
audio/timidity/Makefile | 4 ++--
audio/timidity/distinfo | 7 ++++---
audio/timidity/patches/patch-ac | 6 +++---
audio/timidity/patches/patch-timidity_midi_a__c.c | 6 +++---
audio/timidity/patches/patch-timidity_sun__a.c | 20 ++++++++++++++++++++
5 files changed, 32 insertions(+), 11 deletions(-)
diffs (90 lines):
diff -r c4a79cac1ac9 -r 4e2da3d4d577 audio/timidity/Makefile
--- a/audio/timidity/Makefile Sat Apr 01 18:07:19 2017 +0000
+++ b/audio/timidity/Makefile Sat Apr 01 18:45:28 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.104 2017/02/12 06:25:06 ryoon Exp $
+# $NetBSD: Makefile,v 1.104.2.1 2017/04/01 18:45:28 bsiegert Exp $
DISTNAME= TiMidity++-2.14.0
PKGNAME= ${DISTNAME:S/TiMidity++/timidity/}
-PKGREVISION= 20
+PKGREVISION= 21
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timidity/}
EXTRACT_SUFX= .tar.bz2
diff -r c4a79cac1ac9 -r 4e2da3d4d577 audio/timidity/distinfo
--- a/audio/timidity/distinfo Sat Apr 01 18:07:19 2017 +0000
+++ b/audio/timidity/distinfo Sat Apr 01 18:45:28 2017 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.18 2015/11/03 01:12:52 agc Exp $
+$NetBSD: distinfo,v 1.18.12.1 2017/04/01 18:45:28 bsiegert Exp $
SHA1 (TiMidity++-2.14.0.tar.bz2) = 3d1d18ddf3e52412985af9a49dbe7ad345b478a8
RMD160 (TiMidity++-2.14.0.tar.bz2) = f12d56a1576931f90672304af6dcf8d653151b8a
SHA512 (TiMidity++-2.14.0.tar.bz2) = 274b2a700cd10c7034ffae50b989419f971c79eac71c8e20649e4138f9710be0505bd99379b23e772b5af5aa86a636e4070e522f43d06007ceacc25f61261c8a
Size (TiMidity++-2.14.0.tar.bz2) = 1611424 bytes
-SHA1 (patch-ac) = 7e7d849bba481a2374eb830da9010f633a2aed29
+SHA1 (patch-ac) = ae602b2a1b3fc8013dcc9a15ed2bb12909804da5
SHA1 (patch-interface_server__c.c) = 5a37bcb4a6aaa93fd80ab210ba64a2a1a5d04480
-SHA1 (patch-timidity_midi_a__c.c) = 171bcd9ddd54487ce3cffa9a6966afb96c00671c
+SHA1 (patch-timidity_midi_a__c.c) = ae04cddc6ad8fc5bbbd82ce64fb2ff5dea161822
+SHA1 (patch-timidity_sun__a.c) = f9bb6c92a9eca27bdaa262395fe358efc5e9b600
diff -r c4a79cac1ac9 -r 4e2da3d4d577 audio/timidity/patches/patch-ac
--- a/audio/timidity/patches/patch-ac Sat Apr 01 18:07:19 2017 +0000
+++ b/audio/timidity/patches/patch-ac Sat Apr 01 18:45:28 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-ac,v 1.5 2012/07/08 09:51:31 wiz Exp $
+$NetBSD: patch-ac,v 1.5.38.1 2017/04/01 18:45:28 bsiegert Exp $
Unconditionally include errno.h since extern int errno does not
conform to POSIX in general.
---- timidity/timidity.h.orig 2005-12-07 19:35:02.000000000 +0000
+--- timidity/timidity.h.orig 2012-06-01 03:40:44.000000000 +0000
+++ timidity/timidity.h
-@@ -449,10 +449,7 @@ typedef double FLOAT_T;
+@@ -451,10 +451,7 @@ typedef double FLOAT_T;
#include <stdio.h>
diff -r c4a79cac1ac9 -r 4e2da3d4d577 audio/timidity/patches/patch-timidity_midi_a__c.c
--- a/audio/timidity/patches/patch-timidity_midi_a__c.c Sat Apr 01 18:07:19 2017 +0000
+++ b/audio/timidity/patches/patch-timidity_midi_a__c.c Sat Apr 01 18:45:28 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-timidity_midi_a__c.c,v 1.1 2012/07/24 19:47:44 jperkin Exp $
+$NetBSD: patch-timidity_midi_a__c.c,v 1.1.38.1 2017/04/01 18:45:28 bsiegert Exp $
Some MIDI definitions are missing on some platform's soundcard.h, so just use
internal definitions everywhere.
---- timidity/midi_a.c.orig 2012-07-24 00:44:02.879194950 +0300
-+++ timidity/midi_a.c 2012-07-24 00:44:21.200309747 +0300
+--- timidity/midi_a.c.orig 2009-03-14 15:49:59.000000000 +0000
++++ timidity/midi_a.c
@@ -49,14 +49,7 @@
#endif
#include <fcntl.h>
diff -r c4a79cac1ac9 -r 4e2da3d4d577 audio/timidity/patches/patch-timidity_sun__a.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/timidity/patches/patch-timidity_sun__a.c Sat Apr 01 18:45:28 2017 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-timidity_sun__a.c,v 1.1.2.2 2017/04/01 18:45:28 bsiegert Exp $
+
+Ensure to set the channel for the audioctl device.
+This is required due to the virtual channels in audio.
+
+--- timidity/sun_a.c.orig 2009-12-23 11:57:03.000000000 +0000
++++ timidity/sun_a.c
+@@ -204,6 +204,12 @@ static int open_output(void)
+ return -1;
+ }
+
++#ifdef AUDIO_GETCHAN
++ int chan;
++ if (ioctl(dpm.fd, AUDIO_GETCHAN, &chan) >= 0)
++ ioctl(audioctl_fd, AUDIO_SETCHAN, &chan);
++#endif
++
+ if(stat(dpm.name, &sb) < 0)
+ {
+ ctl->cmsg(CMSG_ERROR, VERB_NORMAL,
Home |
Main Index |
Thread Index |
Old Index