commit: 05c237dd1d5c5e2c71a9c9600de914fc46d78890 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jul 14 04:36:32 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jul 14 04:36:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c237dd
dev-cpp/clucene: fix build on musl Closes: https://bugs.gentoo.org/855071 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild | 1 + dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild b/dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild index 6ee79676be5a..6988382b9711 100644 --- a/dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild +++ b/dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" "${FILESDIR}/${P}-gcc6.patch" "${FILESDIR}/${P}-gmtime.patch" + "${FILESDIR}/${P}-musl-pthread.patch" ) src_prepare() { 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;
