diff options
author | 2022-11-17 23:20:40 +0000 | |
---|---|---|
committer | 2022-11-18 02:18:03 +0000 | |
commit | 5e7ab79918a995d18bb4b61fc3404ca05e20fda3 (patch) | |
tree | 5bac9229da8ca3578def1a9bdf2f21b874a98094 /sys-fs/jfsutils/files | |
parent | sys-cluster/resource-agents: add 4.11.0 (diff) | |
download | gentoo-5e7ab79918a995d18bb4b61fc3404ca05e20fda3.tar.gz gentoo-5e7ab79918a995d18bb4b61fc3404ca05e20fda3.tar.bz2 gentoo-5e7ab79918a995d18bb4b61fc3404ca05e20fda3.zip |
sys-fs/jfsutils: musl patch
Patch from Alpine Linux to fix jfsutils not working on Musl systems.
This has been tested on both Glibc and Musl systems to work.
Orginal Alpine commit - https://git.alpinelinux.org/aports/commit/main/jfsutils/musl-fix-includes.patch?id=d9768c312ddc047df6c2c9b1674b2ab37ddf4e2a
Closes: https://bugs.gentoo.org/715568
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28317
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/jfsutils/files')
-rw-r--r-- | sys-fs/jfsutils/files/jfsutils-1.1.15-musl-fix-includes.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-fs/jfsutils/files/jfsutils-1.1.15-musl-fix-includes.patch b/sys-fs/jfsutils/files/jfsutils-1.1.15-musl-fix-includes.patch new file mode 100644 index 000000000000..08599a2d001d --- /dev/null +++ b/sys-fs/jfsutils/files/jfsutils-1.1.15-musl-fix-includes.patch @@ -0,0 +1,23 @@ +Closes: https://bugs.gentoo.org/715568 + +From https://git.alpinelinux.org/aports/commit/main/jfsutils/musl-fix-includes.patch?id=d9768c312ddc047df6c2c9b1674b2ab37ddf4e2a 2013-12-17 13:59:36 +0000 +From Timo Teräs <timo.teras@iki.fi> + +--- a/libfs/fssubs.c ++++ b/libfs/fssubs.c +@@ -24,6 +24,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <paths.h> + + #if HAVE_MNTENT_H + #include <mntent.h> +@@ -31,7 +32,6 @@ + #endif + + #if HAVE_GETMNTINFO +-#include <paths.h> + #include <sys/param.h> + #include <sys/mount.h> + #endif |