mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
clucene: fix build with gcc>=11
This commit is contained in:
parent
4d4c16099a
commit
6af326e6c8
1 changed files with 12 additions and 0 deletions
12
srcpkgs/clucene/patches/clucene-pthread.patch
Normal file
12
srcpkgs/clucene/patches/clucene-pthread.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/src/shared/CLucene/LuceneThreads.h b/src/shared/CLucene/LuceneThreads.h
|
||||||
|
index 97072ee..4ee241e 100644
|
||||||
|
--- 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;
|
Loading…
Add table
Reference in a new issue