Description: Support speech-dispatcher >= 0.8
 Upstream decided to move the header files in libspeechd-dev
 from /usr/include/ to /usr/include/speech-dispatcher/.
Author: Gilles Filippini <pini@debian.org>
Bug-Debian: http://bugs.debian.org/739210
Index: navit/CMakeLists.txt
===================================================================
--- navit.orig/CMakeLists.txt	2014-02-16 23:43:56.993329237 +0100
+++ navit/CMakeLists.txt	2014-02-16 23:43:56.977329121 +0100
@@ -152,6 +152,13 @@
 CHECK_INCLUDE_FILES(byteswap.h HAVE_BYTESWAP_H)
 CHECK_LIBRARY_EXISTS(gypsy gypsy_control_get_default "" GYPSY_FOUND)
 CHECK_INCLUDE_FILES(libspeechd.h HAVE_LIBSPEECHD)
+if (NOT HAVE_LIBSPEECHD)
+   CHECK_INCLUDE_FILES(speech-dispatcher/libspeechd.h HAVE_LIBSPEECHD08)
+   if (HAVE_LIBSPEECHD08)
+      add_definitions("-DHAVE_LIBSPEECHD08")
+      set(HAVE_LIBSPEECHD 1)
+   endif(HAVE_LIBSPEECHD08)
+endif(NOT HAVE_LIBSPEECHD)
 CHECK_INCLUDE_FILES(sys/socket.h HAVE_SOCKET)
 CHECK_INCLUDE_FILES(sys/shm.h HAVE_SHMEM)
 CHECK_FUNCTION_EXISTS(snprintf   HAVE_SNPRINTF)
Index: navit/navit/speech/speech_dispatcher/speech_speech_dispatcher.c
===================================================================
--- navit.orig/navit/speech/speech_dispatcher/speech_speech_dispatcher.c	2014-02-16 23:43:56.993329237 +0100
+++ navit/navit/speech/speech_dispatcher/speech_speech_dispatcher.c	2014-02-16 23:43:56.981329150 +0100
@@ -27,7 +27,11 @@
 #include <glib.h>
 #include <stdarg.h>
 #include "config.h"
+#ifdef HAVE_LIBSPEECHD08
+#include <speech-dispatcher/libspeechd.h>
+#else
 #include <libspeechd.h>
+#endif
 #include "plugin.h"
 #include "speech.h"
 
