summaryrefslogtreecommitdiff
path: root/sys-fs/ecryptfs-utils/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /sys-fs/ecryptfs-utils/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'sys-fs/ecryptfs-utils/files')
-rw-r--r--sys-fs/ecryptfs-utils/files/ecryptfs-utils-111-musl-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/ecryptfs-utils/files/ecryptfs-utils-111-musl-fix.patch b/sys-fs/ecryptfs-utils/files/ecryptfs-utils-111-musl-fix.patch
new file mode 100644
index 000000000000..1d6de38e8cb3
--- /dev/null
+++ b/sys-fs/ecryptfs-utils/files/ecryptfs-utils-111-musl-fix.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/715508
+https://git.alpinelinux.org/aports/tree/community/ecryptfs-utils/fix-build.patch?id=9e57b1f1197ee99b9f998472371042c42bffdc49
+--- a/src/utils/mount.ecryptfs_private.c 2016-01-22 18:04:52.000000000 +0200
++++ b/src/utils/mount.ecryptfs_private.c 2017-01-20 08:39:31.877975729 +0200
+@@ -235,7 +235,7 @@
+ * deceive other programs with a crafted /proc/self/*. See
+ * https://launchpad.net/bugs/1530566 for more details.
+ */
+- __SWORD_TYPE f_type_whitelist[] = {
++ static const uint32_t f_type_whitelist[] = {
+ 0x61756673 /* AUFS_SUPER_MAGIC */,
+ 0x9123683E /* BTRFS_SUPER_MAGIC */,
+ 0x00C36400 /* CEPH_SUPER_MAGIC */,