summaryrefslogtreecommitdiff
path: root/user/clucene/usleep.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-08 12:35:44 -0400
committerMax Rees <maxcrees@me.com>2018-08-08 12:35:44 -0400
commit8ffd78026c9bcee056738d417c176df6e36b32e8 (patch)
treec5bcf8719af526051ccb5aee4cedbd1600d738d5 /user/clucene/usleep.patch
parenta2d6e9030847a3c5bb0c6a70ce074de45c92e257 (diff)
downloadpackages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.gz
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.bz2
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.xz
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.zip
user/clucene: modernize, fix license
Diffstat (limited to 'user/clucene/usleep.patch')
-rw-r--r--user/clucene/usleep.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/clucene/usleep.patch b/user/clucene/usleep.patch
new file mode 100644
index 000000000..d6cbac360
--- /dev/null
+++ b/user/clucene/usleep.patch
@@ -0,0 +1,12 @@
+Add missing include needed to run tests which use usleep
+
+--- clucene-core-2.3.3.4/src/test/test.h 2011-03-17 00:21:07.000000000 +0000
++++ clucene-core-2.3.3.4/src/test/test.h 2017-12-27 09:43:25.320000000 +0000
+@@ -23,6 +23,7 @@
+ #include <iostream>
+ #include <string.h>
+ #include <stdio.h>
++#include <unistd.h>
+
+ using namespace std;
+