summaryrefslogtreecommitdiff
path: root/bareos/xattr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bareos/xattr.patch')
-rw-r--r--bareos/xattr.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/bareos/xattr.patch b/bareos/xattr.patch
new file mode 100644
index 00000000..8951ed0f
--- /dev/null
+++ b/bareos/xattr.patch
@@ -0,0 +1,43 @@
+--- a/core/src/droplet/libdroplet/src/utils.c 2020-12-16 08:46:16.000000000 +0100
++++ b/core/src/droplet/libdroplet/src/utils.c 2021-01-09 21:28:43.099999815 +0100
+@@ -33,7 +33,7 @@
+ */
+ #include <dropletp.h>
+ #include <linux/xattr.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ #include <errno.h>
+
+ /** @file */
+--- a/core/src/droplet/libdroplet/include/droplet/cdmi/crcmodel.h 2020-12-16 08:46:16.000000000 +0100
++++ b/core/src/droplet/libdroplet/include/droplet/cdmi/crcmodel.h 2021-01-09 21:50:10.506666487 +0100
+@@ -78,7 +78,6 @@
+ #ifndef DONE_STYLE
+
+ typedef unsigned long ulong;
+-typedef unsigned bool;
+ typedef unsigned char * p_ubyte_;
+
+ #ifndef TRUE
+@@ -106,8 +106,8 @@
+ int cm_width; /* Parameter: Width in bits [8,32]. */
+ ulong cm_poly; /* Parameter: The algorithm's polynomial. */
+ ulong cm_init; /* Parameter: Initial register value. */
+- bool cm_refin; /* Parameter: Reflect input bytes? */
+- bool cm_refot; /* Parameter: Reflect output CRC? */
++ _Bool cm_refin; /* Parameter: Reflect input bytes? */
++ _Bool cm_refot; /* Parameter: Reflect output CRC? */
+ ulong cm_xorot; /* Parameter: XOR this to output CRC. */
+
+ ulong cm_reg; /* Context: Context during execution. */
+--- a/core/src/droplet/libdroplet/src/backend/posix/reqbuilder.c 2020-12-16 08:46:16.000000000 +0100
++++ b/core/src/droplet/libdroplet/src/backend/posix/reqbuilder.c 2021-01-09 22:27:57.346666239 +0100
+@@ -39,7 +39,7 @@
+ #include <dirent.h>
+ #include <sys/types.h>
+ #include <linux/xattr.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ #include <utime.h>
+ #include <pwd.h>
+ #include <grp.h>