summaryrefslogtreecommitdiff
path: root/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-18 02:33:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-18 02:33:38 +0100
commitb5408a0879b82101f69b6bf3bc29b6e9e4969941 (patch)
tree476433e68266a2cc5100b7d966badf13755311c8 /app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
parent83b5cde41ddb8fd20de4536dd68eb08da42d013e (diff)
gentoo auto-resync : 18:07:2022 - 02:33:38
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" {