aboutsummaryrefslogtreecommitdiff
path: root/audio/espeak-ng/files/patch-src_libespeak-ng_speech.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/espeak-ng/files/patch-src_libespeak-ng_speech.h')
-rw-r--r--audio/espeak-ng/files/patch-src_libespeak-ng_speech.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/espeak-ng/files/patch-src_libespeak-ng_speech.h b/audio/espeak-ng/files/patch-src_libespeak-ng_speech.h
new file mode 100644
index 000000000000..de845670deed
--- /dev/null
+++ b/audio/espeak-ng/files/patch-src_libespeak-ng_speech.h
@@ -0,0 +1,11 @@
+--- src/libespeak-ng/speech.h.orig 2022-06-21 14:53:53 UTC
++++ src/libespeak-ng/speech.h
+@@ -56,7 +56,7 @@ extern "C"
+
+ // will look for espeak_data directory here, and also in user's home directory
+ #ifndef PATH_ESPEAK_DATA
+- #define PATH_ESPEAK_DATA "/usr/share/espeak-ng-data"
++ #define PATH_ESPEAK_DATA "%%DATADIR%%/espeak-ng-data"
+ #endif
+
+ void cancel_audio(void);