Skip to content

Commit

Permalink
clucene: fix build with gcc>=11
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncaen committed Oct 8, 2022
1 parent 4d4c160 commit 6af326e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions srcpkgs/clucene/patches/clucene-pthread.patch
@@ -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;

0 comments on commit 6af326e

Please sign in to comment.