aboutsummaryrefslogtreecommitdiffstats
path: root/main/cifs-utils/xattr_size_max.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-03-14 08:26:41 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-03-14 08:26:41 +0000
commit82e641718bc621d02b29d1a0ce031dea2d25f125 (patch)
treeb61f2d391d481d87b1c9d6a15070082319399bba /main/cifs-utils/xattr_size_max.patch
parent25ba0f223a73b2a6dd04b47b57504adde3be83a6 (diff)
downloadaports-82e641718bc621d02b29d1a0ce031dea2d25f125.tar.gz
aports-82e641718bc621d02b29d1a0ce031dea2d25f125.tar.bz2
aports-82e641718bc621d02b29d1a0ce031dea2d25f125.tar.xz
main/cifs-utils: upgrade to 6.8, added patch for missing musl includes
Diffstat (limited to 'main/cifs-utils/xattr_size_max.patch')
-rw-r--r--main/cifs-utils/xattr_size_max.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/cifs-utils/xattr_size_max.patch b/main/cifs-utils/xattr_size_max.patch
new file mode 100644
index 0000000000..041041a61e
--- /dev/null
+++ b/main/cifs-utils/xattr_size_max.patch
@@ -0,0 +1,32 @@
+diff --git a/getcifsacl.c b/getcifsacl.c
+index f08cdea..5c46999 100644
+--- a/getcifsacl.c
++++ b/getcifsacl.c
+@@ -38,6 +38,11 @@
+ #include "cifsacl.h"
+ #include "idmap_plugin.h"
+
++#ifdef __linux__
++#include <linux/limits.h> /* for XATTR_SIZE_MAX */
++#include <endian.h> /* le16toh, le32toh etc */
++#endif
++
+ static void *plugin_handle;
+ static bool plugin_loaded;
+
+diff --git a/setcifsacl.c b/setcifsacl.c
+index ba34403..64e6eaa 100644
+--- a/setcifsacl.c
++++ b/setcifsacl.c
+@@ -39,6 +39,11 @@
+ #include "cifsacl.h"
+ #include "idmap_plugin.h"
+
++#ifdef __linux__
++#include <linux/limits.h> /* for XATTR_SIZE_MAX */
++#include <endian.h> /* le16toh, le32toh etc */
++#endif
++
+ enum setcifsacl_actions {
+ ActUnknown = -1,
+ ActDelete,