pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/flite Make flite work on OpenBSD. Patch from Op...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8b344a09724
branches:  trunk
changeset: 530773:a8b344a09724
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jul 08 18:33:38 2007 +0000

description:
Make flite work on OpenBSD.  Patch from OpenBSD ports.  Suggested by
Alexander Nasonov in PR 36557.

Bump PKGREVISION.

diffstat:

 audio/flite/Makefile         |   4 ++--
 audio/flite/distinfo         |   3 ++-
 audio/flite/patches/patch-ae |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r a6ceee7c9674 -r a8b344a09724 audio/flite/Makefile
--- a/audio/flite/Makefile      Sun Jul 08 18:00:49 2007 +0000
+++ b/audio/flite/Makefile      Sun Jul 08 18:33:38 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2006/09/01 15:44:44 gdt Exp $
+# $NetBSD: Makefile,v 1.6 2007/07/08 18:33:38 minskim Exp $
 #
 
 DISTNAME=      flite-1.3-release
 PKGNAME=       ${DISTNAME:S/-release//}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    audio
 MASTER_SITES=  http://www.speech.cs.cmu.edu/flite/packed/flite-1.3/
 
diff -r a6ceee7c9674 -r a8b344a09724 audio/flite/distinfo
--- a/audio/flite/distinfo      Sun Jul 08 18:00:49 2007 +0000
+++ b/audio/flite/distinfo      Sun Jul 08 18:33:38 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2007/01/21 04:39:14 rillig Exp $
+$NetBSD: distinfo,v 1.5 2007/07/08 18:33:38 minskim Exp $
 
 SHA1 (flite-1.3-release.tar.gz) = 233144a772de72741ae1aa2292f672c30224afb3
 RMD160 (flite-1.3-release.tar.gz) = a908acfd196754783ee4665ac84ea860d54bcf80
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 253876a3edc65b60a5891375b2a90a4fcc01da24
 SHA1 (patch-ac) = 9e533a22ed3a59cb6d99b6bbd6eacdfaa1695285
 SHA1 (patch-ad) = e75da7826581a1d93d4f5efe75f257cc749358a7
+SHA1 (patch-ae) = c1bd0e1baea7464d3ef0d35481714f92af3da4d8
diff -r a6ceee7c9674 -r a8b344a09724 audio/flite/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flite/patches/patch-ae      Sun Jul 08 18:33:38 2007 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.1 2007/07/08 18:33:38 minskim Exp $
+
+--- src/audio/au_sun.c.orig    Mon Jan  7 18:25:52 2002
++++ src/audio/au_sun.c Sun Apr 20 18:12:34 2003
+@@ -45,6 +45,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <sys/ioctl.h>
+ #include <sys/filio.h>
+ #include <sys/audioio.h>
+ #include "cst_string.h"
+@@ -76,7 +77,11 @@ cst_audiodev *audio_open_sun(int sps, in
+           cst_error();
+       }
+     }
++#ifdef __OpenBSD__
++    AUDIO_INITINFO(&ainfo);
++#else
+     ioctl(fd,AUDIO_GETINFO,&ainfo);
++#endif
+ 
+     switch (fmt)
+     {



Home | Main Index | Thread Index | Old Index