anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / audio / espeak / espeakedit-configurable-path-espeak-data.patch
blobe5c761a11b354eb7e6cef631ed0e1278ea1e0ed3
1 Don't hardcode /usr, use @prefix@.
3 Author: Bjørn Forsman
4 diff -uNr espeakedit-1.48.03.orig/src/speech.h espeakedit-1.48.03/src/speech.h
5 --- espeakedit-1.48.03.orig/src/speech.h 2014-03-04 17:48:12.000000000 +0100
6 +++ espeakedit-1.48.03/src/speech.h 2014-07-22 18:21:40.860790719 +0200
7 @@ -58,7 +58,7 @@
9 // will look for espeak_data directory here, and also in user's home directory
10 #ifndef PATH_ESPEAK_DATA
11 - #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
12 + #define PATH_ESPEAK_DATA "@prefix@/share/espeak-data"
13 #endif
15 typedef unsigned short USHORT;