summaryrefslogtreecommitdiff
path: root/audio/flite
diff options
context:
space:
mode:
authorminskim <minskim>2007-07-08 18:33:38 +0000
committerminskim <minskim>2007-07-08 18:33:38 +0000
commit8be3ffcbac68f035641c3499039543f2c4274109 (patch)
tree5c48ac2e6695b2ff6b6480fbb2d75298d6db6829 /audio/flite
parentb1a0220a7e3e80bedb9dd0c9269eedb0f2a26816 (diff)
downloadpkgsrc-8be3ffcbac68f035641c3499039543f2c4274109.tar.gz
Make flite work on OpenBSD. Patch from OpenBSD ports. Suggested by
Alexander Nasonov in PR 36557. Bump PKGREVISION.
Diffstat (limited to 'audio/flite')
-rw-r--r--audio/flite/Makefile4
-rw-r--r--audio/flite/distinfo3
-rw-r--r--audio/flite/patches/patch-ae24
3 files changed, 28 insertions, 3 deletions
diff --git a/audio/flite/Makefile b/audio/flite/Makefile
index b3ff7b1fa78..cde570e8b1c 100644
--- a/audio/flite/Makefile
+++ b/audio/flite/Makefile
@@ -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 --git a/audio/flite/distinfo b/audio/flite/distinfo
index 229cfb52f3c..6bdefdc4830 100644
--- a/audio/flite/distinfo
+++ b/audio/flite/distinfo
@@ -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-aa) = 1b603b6595d97526913d7d91a02993e6ad5a4ce1
SHA1 (patch-ab) = 253876a3edc65b60a5891375b2a90a4fcc01da24
SHA1 (patch-ac) = 9e533a22ed3a59cb6d99b6bbd6eacdfaa1695285
SHA1 (patch-ad) = e75da7826581a1d93d4f5efe75f257cc749358a7
+SHA1 (patch-ae) = c1bd0e1baea7464d3ef0d35481714f92af3da4d8
diff --git a/audio/flite/patches/patch-ae b/audio/flite/patches/patch-ae
new file mode 100644
index 00000000000..28637201fe6
--- /dev/null
+++ b/audio/flite/patches/patch-ae
@@ -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)
+ {