openbsd-ports/audio/espeak/patches/patch-src_speech_h
2012-06-23 12:23:31 +00:00

16 lines
516 B
Plaintext
Executable File

$OpenBSD: patch-src_speech_h,v 1.4 2012/06/23 12:23:31 ajacoutot Exp $
- Don't define USE_ASYNC, this required sem_timedwait() to be present.
--- src/speech.h.orig Fri Jan 6 18:03:00 2012
+++ src/speech.h Sat Jun 23 12:36:01 2012
@@ -57,7 +57,7 @@
// 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-data"
+ #define PATH_ESPEAK_DATA "${PREFIX}/share/espeak-data"
#endif
typedef unsigned short USHORT;