pkgsrc/audio/sphinx3/patches/patch-src_libs3decoder_libsearch_fsg__history.c
fhajny a9bec4ac72 Import the CMUSphinx toolkit as sphinxbase, sphinx3, sphinxtrain
and pocketsphinx.

CMUSphinx toolkit is a leading speech recognition toolkit with various
tools used to build speech applications. CMU Sphinx toolkit has a number
of packages for different tasks and applications.
2014-09-05 10:13:20 +00:00

15 lines
415 B
C

$NetBSD: patch-src_libs3decoder_libsearch_fsg__history.c,v 1.1 2014/09/05 10:13:21 fhajny Exp $
Only use libbsd on Linux.
--- src/libs3decoder/libsearch/fsg_history.c.orig 2008-12-31 18:27:56.000000000 +0000
+++ src/libs3decoder/libsearch/fsg_history.c
@@ -55,7 +55,9 @@
#include <kb.h>
/*#include <phone.h>*/
#include <search.h>
+#if defined(__linux__)
#include "libutil.h"
+#endif
#define __FSG_DBG__ 0