diff options
Diffstat (limited to 'recipes-security/cryptmount/files/remove_linux_fs.patch')
| -rw-r--r-- | recipes-security/cryptmount/files/remove_linux_fs.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-security/cryptmount/files/remove_linux_fs.patch b/recipes-security/cryptmount/files/remove_linux_fs.patch new file mode 100644 index 0000000..304b853 --- /dev/null +++ b/recipes-security/cryptmount/files/remove_linux_fs.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # From glibc 2.36, <linux/mount.h> (included from <linux/fs.h>) and | ||
| 2 | # <sys/mount.h> (included from glibc) are no longer compatible: | ||
| 3 | # https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E | ||
| 4 | |||
| 5 | Upstream-Status: Pending | ||
| 6 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 7 | |||
| 8 | Index: cryptmount-5.3.3/cryptmount.c | ||
| 9 | =================================================================== | ||
| 10 | --- cryptmount-5.3.3.orig/cryptmount.c | ||
| 11 | +++ cryptmount-5.3.3/cryptmount.c | ||
| 12 | @@ -41,7 +41,6 @@ | ||
| 13 | #ifdef HAVE_SYSLOG | ||
| 14 | # include <syslog.h> | ||
| 15 | #endif | ||
| 16 | -#include <linux/fs.h> /* Beware ordering conflict with sys/mount.h */ | ||
| 17 | |||
| 18 | |||
| 19 | #include "armour.h" | ||
