summaryrefslogtreecommitdiff
path: root/audio/festival/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-03 04:14:05 +0000
committerjoerg <joerg>2005-12-03 04:14:05 +0000
commit5a6bc4e0f67edbb5aedb027aa1d8b1783a8a2733 (patch)
treebdf37483646b6421bc7c943f80850676ec6bf090 /audio/festival/patches
parent5f0ece2a7ec1221907f3fd713d2b9b732bfc4e60 (diff)
downloadpkgsrc-5a6bc4e0f67edbb5aedb027aa1d8b1783a8a2733.tar.gz
Add DragonFly support. Use CONFIGURE_SCRIPT instead of manual
do-configure rule. Allow GCC 3.4 build, there doesn't seem to be a good reason to disallow it.
Diffstat (limited to 'audio/festival/patches')
-rw-r--r--audio/festival/patches/patch-ad12
-rw-r--r--audio/festival/patches/patch-ae16
2 files changed, 28 insertions, 0 deletions
diff --git a/audio/festival/patches/patch-ad b/audio/festival/patches/patch-ad
new file mode 100644
index 00000000000..e298e3ca28b
--- /dev/null
+++ b/audio/festival/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.5 2005/12/03 04:14:05 joerg Exp $
+
+--- speech_tools/audio/voxware.cc.orig 2005-12-03 02:59:39.000000000 +0000
++++ speech_tools/audio/voxware.cc
+@@ -66,6 +66,7 @@
+ int freebsd16_supported = TRUE;
+ int linux16_supported = FALSE;
+ static char *aud_sys_name = "FreeBSD";
++static int stereo_only = 0;
+ #endif
+
+ #ifdef SUPPORT_LINUX16
diff --git a/audio/festival/patches/patch-ae b/audio/festival/patches/patch-ae
new file mode 100644
index 00000000000..50b24a9b557
--- /dev/null
+++ b/audio/festival/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.4 2005/12/03 04:14:05 joerg Exp $
+
+--- speech_tools/include/EST_math.h.orig 2005-12-03 03:17:51.000000000 +0000
++++ speech_tools/include/EST_math.h
+@@ -94,6 +94,11 @@ extern "C" {
+ #define isnanf(X) isnan(X)
+ #endif
+
++/* If isnan is a macro, assume it is C99 type-variadic. */
++#if defined(__DragonFly__) && defined(isnan)
++#define isnanf(X) isnan(X)
++#endif
++
+ /* FreeBSD *and other 4.4 based systems require anything, isnanf is defined */
+ #if defined(__FreeBSD__)
+