diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2013-09-06 15:24:58 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2013-09-06 15:24:58 +0000 |
commit | 9795f213f8b50e1cf5e64b82d9c8d0a30b921452 (patch) | |
tree | 204b3fe9344451188403d7d81e8e0ae266b4398b /audio/festival/files/patch-voxware | |
parent | 083576c0af25ee47058652f6e0622f2f00eaefef (diff) | |
download | ports-9795f213f8b50e1cf5e64b82d9c8d0a30b921452.tar.gz ports-9795f213f8b50e1cf5e64b82d9c8d0a30b921452.zip |
Notes
Diffstat (limited to 'audio/festival/files/patch-voxware')
-rw-r--r-- | audio/festival/files/patch-voxware | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/audio/festival/files/patch-voxware b/audio/festival/files/patch-voxware new file mode 100644 index 000000000000..70e4523e2629 --- /dev/null +++ b/audio/festival/files/patch-voxware @@ -0,0 +1,49 @@ +--- speech_tools/config/modules/freebsd16_audio.mak 2001-04-04 09:11:27.000000000 -0400 ++++ speech_tools/config/modules/freebsd16_audio.mak 2013-05-27 13:29:03.000000000 -0400 +@@ -43,5 +43,5 @@ + MOD_DESC_FREEBSD16_AUDIO=Native audio module for FreeBSD systems + +-AUDIO_DEFINES += -DSUPPORT_FREEBSD16 ++AUDIO_DEFINES += -DSUPPORT_FREEBSD16 -DSUPPORT_VOXWARE + + #ifdef INCLUDE_JAVA_CPP +--- speech_tools/audio/linux_sound.cc 2009-04-29 13:06:36.000000000 -0400 ++++ speech_tools/audio/linux_sound.cc 2013-05-27 13:31:00.000000000 -0400 +@@ -66,7 +66,13 @@ + int freebsd16_supported = TRUE; + int linux16_supported = FALSE; +-static char *aud_sys_name = "FreeBSD"; ++static const char *aud_sys_name = "FreeBSD"; + #endif /*SUPPORT_FREEBSD16 */ + ++#ifdef SUPPORT_LINUX16 ++int linux16_supported = TRUE; ++int freebsd16_supported = FALSE; ++static const char *aud_sys_name = "Linux"; ++#endif ++ + #ifdef SUPPORT_VOXWARE + +@@ -76,7 +82,5 @@ + #include <sys/stat.h> + #include <fcntl.h> +-int linux16_supported = TRUE; +-int freebsd16_supported = FALSE; +-static char *aud_sys_name = "Linux"; ++ + static int stereo_only = 0; + +@@ -152,5 +156,5 @@ + int audio,actual_fmt; + int i,r,n; +- char *audiodevice; ++ const char *audiodevice; + + if (al.present("-audiodevice")) +@@ -279,5 +283,5 @@ + int audio=-1,actual_fmt; + int i,r,n; +- char *audiodevice; ++ const char *audiodevice; + + if (al.present("-audiodevice")) |