summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-14 05:36:32 +0100
committerSam James <sam@gentoo.org>2022-07-14 05:36:32 +0100
commit05c237dd1d5c5e2c71a9c9600de914fc46d78890 (patch)
tree06092e6b5a0480f6f455b2e2120cb48e0b7aaf6f /dev-cpp/clucene/files
parentnet-analyzer/termshark: add 2.4.0 (diff)
downloadgentoo-05c237dd1d5c5e2c71a9c9600de914fc46d78890.tar.gz
gentoo-05c237dd1d5c5e2c71a9c9600de914fc46d78890.tar.bz2
gentoo-05c237dd1d5c5e2c71a9c9600de914fc46d78890.zip
dev-cpp/clucene: fix build on musl
Closes: https://bugs.gentoo.org/855071 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/clucene/files')
-rw-r--r--dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch b/dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch
new file mode 100644
index 000000000000..5fdbb3e3d97d
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/855071
+--- a/src/shared/CLucene/LuceneThreads.h
++++ b/src/shared/CLucene/LuceneThreads.h
+@@ -7,6 +7,7 @@
+ #ifndef _LuceneThreads_h
+ #define _LuceneThreads_h
+
++#include <pthread.h>
+
+ CL_NS_DEF(util)
+ class CLuceneThreadIdCompare;