File use-python3.patch of Package pocketsphinx5
Index: pocketsphinx-5prealpha/configure.ac
===================================================================
--- pocketsphinx-5prealpha.orig/configure.ac
+++ pocketsphinx-5prealpha/configure.ac
@@ -39,7 +39,7 @@ AC_ARG_WITH(python,
[Enable Python extension, built with swig, enabled by default]))
if test "x${with_python}" != "xno"; then
- AM_PATH_PYTHON(2.6, [], [AC_MSG_ERROR([python not found])])
+ AM_PATH_PYTHON(3.4, [], [AC_MSG_ERROR([python not found])])
AX_PYTHON_DEVEL()
AX_PKG_SWIG(2.0, [], [AC_MSG_ERROR([swig not found])])
fi