Upstream includes <cerrno>, not necessary anymore

This commit is contained in:
Emmanuel Engelhart 2021-03-07 14:55:45 +01:00
parent 54b47fea9e
commit 3e1446f2dd
2 changed files with 0 additions and 12 deletions

View File

@ -15,7 +15,6 @@ class Xapian(Dependency):
archive = Remotefile('xapian-core-1.4.18.tar.xz', archive = Remotefile('xapian-core-1.4.18.tar.xz',
'196ddbb4ad10450100f0991a599e4ed944cbad92e4a6fe813be6dce160244b77') '196ddbb4ad10450100f0991a599e4ed944cbad92e4a6fe813be6dce160244b77')
patches = [ patches = [
'xapian_fix_include_errno.patch',
'xapian_remote.patch' 'xapian_remote.patch'
] ]

View File

@ -1,11 +0,0 @@
diff -ur xapian-core-1.4.10/examples/xapian-pos.cc xapian-core-1.4.10.patched/examples/xapian-pos.cc
--- xapian-core-1.4.10/examples/xapian-pos.cc 2019-02-11 22:27:21.000000000 +0100
+++ xapian-core-1.4.10.patched/examples/xapian-pos.cc 2019-02-18 16:43:08.593354559 +0100
@@ -29,6 +29,7 @@
#include <algorithm>
#include <cstdlib>
#include <limits>
+#include <errno.h>
#include "gnu_getopt.h"
#include "stringutils.h"