Add xapian patch to correctly include sys types.
This commit is contained in:
parent
e441b847b5
commit
4047ec20dd
|
@ -14,6 +14,7 @@ class Xapian(Dependency):
|
|||
class Source(ReleaseDownload):
|
||||
archive = Remotefile('xapian-core-1.4.5.tar.xz',
|
||||
'85b5f952de9df925fd13e00f6e82484162fd506d38745613a50b0a2064c6b02b')
|
||||
patches = ['xapian_sys_types.patch']
|
||||
|
||||
class Builder(MakeBuilder):
|
||||
configure_option = "--disable-sse --disable-backend-inmemory --disable-documentation"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -ur xapian-core-1.4.5/backends/glass/glass_dbcheck.h xapian-core-1.4.5.patched/backends/glass/glass_dbcheck.h
|
||||
--- xapian-core-1.4.5/backends/glass/glass_dbcheck.h 2017-10-16 04:32:24.000000000 +0200
|
||||
+++ xapian-core-1.4.5.patched/backends/glass/glass_dbcheck.h 2018-06-13 14:55:58.574898188 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "xapian/types.h"
|
||||
|
||||
-#include <cstring> // For size_t.
|
||||
+#include <sys/types.h> // For size_t and off_t.
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <vector>
|
|
@ -10,7 +10,7 @@ main_project_versions = {
|
|||
|
||||
# This is the "version" of the whole base_deps_versions dict.
|
||||
# Change this when you change base_deps_versions.
|
||||
base_deps_meta_version = '7'
|
||||
base_deps_meta_version = '8'
|
||||
|
||||
|
||||
base_deps_versions = {
|
||||
|
|
Loading…
Reference in New Issue