Dash:
[t2.git] / package / filesystem / overlay-tools / hotfix-xattr.patch
blob4d718a09539cef9b0683edc4ac0fcd9dc9904de4
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/overlay-tools/hotfix-xattr.patch
3 # Copyright (C) 2022 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- overlayfs-tools-291c7f4/logic.c.vanilla 2022-01-30 19:06:38.717412282 +0100
15 +++ overlayfs-tools-291c7f4/logic.c 2022-01-30 19:07:04.522411253 +0100
16 @@ -7,7 +7,7 @@
17 #include <string.h>
18 #include <errno.h>
19 #include <unistd.h>
20 -#include <attr/xattr.h>
21 +#include <sys/xattr.h>
22 #include <attr/attributes.h>
23 #include <fts.h>
24 #include <libgen.h>
25 --- overlayfs-tools-291c7f4/main.c.vanilla 2022-01-30 19:06:38.715412282 +0100
26 +++ overlayfs-tools-291c7f4/main.c 2022-01-30 19:06:43.021412110 +0100
27 @@ -13,7 +13,7 @@
28 #include <linux/limits.h>
29 #include <stdbool.h>
30 #include <sys/stat.h>
31 -#include <attr/xattr.h>
32 +#include <sys/xattr.h>
33 #ifndef _SYS_STAT_H
34 #include <linux/stat.h>
35 #endif