summaryrefslogtreecommitdiff
path: root/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch')
-rw-r--r--app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
new file mode 100644
index 000000000000..3575e2c54c99
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
@@ -0,0 +1,14 @@
+This fixes pthread_mutex_t being undefined on musl libc.
+
+https://github.com/brailcom/speechd/commit/17e4038948f01e389cbd7fedbe3f0eb54ad3292d
+https://bugs.gentoo.org/833347
+--- a/src/modules/module_main.h
++++ b/src/modules/module_main.h
+@@ -31,6 +31,7 @@
+
+ #include <speechd_types.h>
+ #include <spd_audio.h>
++#include <pthread.h>
+
+ #ifdef __cplusplus
+ extern "C" {