diff options
author | Sam James <sam@gentoo.org> | 2022-07-14 05:36:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-14 05:36:32 +0100 |
commit | 05c237dd1d5c5e2c71a9c9600de914fc46d78890 (patch) | |
tree | 06092e6b5a0480f6f455b2e2120cb48e0b7aaf6f /dev-cpp | |
parent | net-analyzer/termshark: add 2.4.0 (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-cpp/clucene/clucene-2.3.3.4-r6.ebuild | 1 | ||||
-rw-r--r-- | dev-cpp/clucene/files/clucene-2.3.3.4-musl-pthread.patch | 11 |
2 files changed, 12 insertions, 0 deletions
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; |