From: Brian West Date: Wed, 15 Jun 2011 18:08:54 +0000 (-0500) Subject: Update PocketSphinx to the latest builds... only had to make two changes X-Git-Tag: v1.2-rc1~108^2~11^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a39d7fb345da414fd6da4f3af94d2d917600000;p=thirdparty%2Ffreeswitch.git Update PocketSphinx to the latest builds... only had to make two changes --- diff --git a/src/mod/asr_tts/mod_pocketsphinx/Makefile b/src/mod/asr_tts/mod_pocketsphinx/Makefile index 28564003bf..63431e87fa 100644 --- a/src/mod/asr_tts/mod_pocketsphinx/Makefile +++ b/src/mod/asr_tts/mod_pocketsphinx/Makefile @@ -1,7 +1,7 @@ -SPHINXBASE=sphinxbase-0.4.99 +SPHINXBASE=sphinxbase-0.7 SPHINXBASE_DIR=$(switch_srcdir)/libs/$(SPHINXBASE) SPHINXBASE_BUILDDIR=$(switch_builddir)/libs/$(SPHINXBASE) -POCKETSPHINX=pocketsphinx-0.5.99 +POCKETSPHINX=pocketsphinx-0.7 POCKETSPHINX_DIR=$(switch_srcdir)/libs/$(POCKETSPHINX) POCKETSPHINX_BUILDDIR=$(switch_builddir)/libs/$(POCKETSPHINX) SPHINXBASE_LA=$(SPHINXBASE_BUILDDIR)/src/libsphinxbase/libsphinxbase.la @@ -17,7 +17,7 @@ BASE=../../../.. include $(BASE)/build/modmake.rules $(SPHINXBASE_DIR): - $(GETLIB) $(SPHINXBASE)-20091212.tar.gz + $(GETLIB) $(SPHINXBASE).tar.gz $(SPHINXBASE_BUILDDIR)/buildstamp: $(SPHINXBASE_DIR) mkdir -p $(SPHINXBASE_BUILDDIR) @@ -29,7 +29,7 @@ $(SPHINXBASE_LA): $(SPHINXBASE_BUILDDIR)/buildstamp $(TOUCH_TARGET) $(POCKETSPHINX_DIR): - $(GETLIB) $(POCKETSPHINX)-20091212.tar.gz + $(GETLIB) $(POCKETSPHINX).tar.gz $(POCKETSPHINX_BUILDDIR)/Makefile: $(POCKETSPHINX_DIR) $(SPHINXBASE_LA) mkdir -p $(POCKETSPHINX_BUILDDIR) diff --git a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c index b257278e4d..c9a59038fd 100644 --- a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c +++ b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c @@ -32,8 +32,8 @@ #include #include -#include -#include +#include +#include SWITCH_MODULE_LOAD_FUNCTION(mod_pocketsphinx_load); SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_pocketsphinx_shutdown);