void-packages/srcpkgs/recoll/patches/musl.patch
Đoàn Trần Công Danh a30fee551f recoll: update to 1.30.0.
2021-04-15 06:41:29 +07:00

25 lines
742 B
Diff

Index: utils/fstreewalk.cpp
===================================================================
--- utils/fstreewalk.cpp.orig
+++ utils/fstreewalk.cpp
@@ -17,6 +17,7 @@
#include "autoconfig.h"
+#include <sys/types.h>
#include <stdio.h>
#include <errno.h>
Index: utils/pxattr.cpp
===================================================================
--- utils/pxattr.cpp 2017-07-03 14:14:46.000000000 +0200
+++ utils/pxattr.cpp 2017-12-17 14:34:29.955674837 +0100
@@ -44,7 +44,7 @@
// just let the methods return errors (like they would on a non-xattr
// fs on e.g. linux)
-#if defined(__DragonFly__) || defined(__OpenBSD__)
+#if defined(__DragonFly__) || defined(__OpenBSD__) || !defined(__GLIBC__)
#define HAS_NO_XATTR
#endif