testing/recoll: upload missing patch

This commit is contained in:
Leonardo Arena 2017-06-01 12:52:31 +00:00
parent 9a5385ddd2
commit f4c879300d
2 changed files with 26 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=recoll
pkgver=1.23.2
pkgrel=0
pkgrel=1
pkgdesc="Desktop full-text search tool"
url="http://www.lesbonscomptes.com/recoll/"
arch="all"

View File

@ -0,0 +1,25 @@
diff --git a/utils/pxattr.cpp b/utils/pxattr.cpp
index 1f3c7b1..765416c 100644
--- a/utils/pxattr.cpp
+++ b/utils/pxattr.cpp
@@ -44,7 +44,7 @@ OTHER DEALINGS IN THE SOFTWARE.
// just let the methods return errors (like they would on a non-xattr
// fs on e.g. linux)
#if defined(__FreeBSD__) || defined(PXALINUX) || defined(__APPLE__) \
- || defined(__OpenBSD__)
+ || defined(__OpenBSD__) || !defined(__GLIBC__)
#ifndef TEST_PXATTR
@@ -60,7 +60,7 @@ OTHER DEALINGS IN THE SOFTWARE.
#include <sys/xattr.h>
#elif defined(__APPLE__)
#include <sys/xattr.h>
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || !defined(__GLIBC__)
#else
#error "Unknown system can't compile"
#endif
--
2.13.0