pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q1] pkgsrc/audio/timidity



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Apr  1 18:45:28 UTC 2017

Modified Files:
        pkgsrc/audio/timidity [pkgsrc-2017Q1]: Makefile distinfo
        pkgsrc/audio/timidity/patches [pkgsrc-2017Q1]: patch-ac
            patch-timidity_midi_a__c.c
Added Files:
        pkgsrc/audio/timidity/patches [pkgsrc-2017Q1]: patch-timidity_sun__a.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.104.2.1 pkgsrc/audio/timidity/Makefile
cvs rdiff -u -r1.18 -r1.18.12.1 pkgsrc/audio/timidity/distinfo
cvs rdiff -u -r1.5 -r1.5.38.1 pkgsrc/audio/timidity/patches/patch-ac
cvs rdiff -u -r1.1 -r1.1.38.1 \
    pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/audio/timidity/patches/patch-timidity_sun__a.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/timidity/Makefile
diff -u pkgsrc/audio/timidity/Makefile:1.104 pkgsrc/audio/timidity/Makefile:1.104.2.1
--- pkgsrc/audio/timidity/Makefile:1.104        Sun Feb 12 06:25:06 2017
+++ pkgsrc/audio/timidity/Makefile      Sat Apr  1 18:45:28 2017
@@ -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

Index: pkgsrc/audio/timidity/distinfo
diff -u pkgsrc/audio/timidity/distinfo:1.18 pkgsrc/audio/timidity/distinfo:1.18.12.1
--- pkgsrc/audio/timidity/distinfo:1.18 Tue Nov  3 01:12:52 2015
+++ pkgsrc/audio/timidity/distinfo      Sat Apr  1 18:45:28 2017
@@ -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

Index: pkgsrc/audio/timidity/patches/patch-ac
diff -u pkgsrc/audio/timidity/patches/patch-ac:1.5 pkgsrc/audio/timidity/patches/patch-ac:1.5.38.1
--- pkgsrc/audio/timidity/patches/patch-ac:1.5  Sun Jul  8 09:51:31 2012
+++ pkgsrc/audio/timidity/patches/patch-ac      Sat Apr  1 18:45:28 2017
@@ -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>
  

Index: pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c
diff -u pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c:1.1 pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c:1.1.38.1
--- pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c:1.1        Tue Jul 24 19:47:44 2012
+++ pkgsrc/audio/timidity/patches/patch-timidity_midi_a__c.c    Sat Apr  1 18:45:28 2017
@@ -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>

Added files:

Index: pkgsrc/audio/timidity/patches/patch-timidity_sun__a.c
diff -u /dev/null pkgsrc/audio/timidity/patches/patch-timidity_sun__a.c:1.1.2.2
--- /dev/null   Sat Apr  1 18:45:29 2017
+++ pkgsrc/audio/timidity/patches/patch-timidity_sun__a.c       Sat Apr  1 18:45:28 2017
@@ -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