From: Thomas Petazzoni Date: Sat, 20 Aug 2016 09:06:43 +0000 (+0200) Subject: ntfs-3g: add patch to fix musl build issue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4881394c3cdc09a32eba79bcf05f8acca57880d9;p=buildroot.git ntfs-3g: add patch to fix musl build issue This commit adds a simple patch that fixes the build with the musl C library. The fix was suggested by Khem Raj (thanks!). Fixes: http://autobuild.buildroot.net/results/eb6dabccf729f96a4e06a98526eb4c716fa6bcd2/ Signed-off-by: Thomas Petazzoni --- diff --git a/package/ntfs-3g/0001-libfuse-util-include-paths.h-when-needed.patch b/package/ntfs-3g/0001-libfuse-util-include-paths.h-when-needed.patch new file mode 100644 index 0000000000..1765f68c89 --- /dev/null +++ b/package/ntfs-3g/0001-libfuse-util-include-paths.h-when-needed.patch @@ -0,0 +1,43 @@ +From da021ed297ff7a69f3b7532ef68a9b6877a55265 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 20 Aug 2016 11:05:27 +0200 +Subject: [PATCH] libfuse-util: include when needed + +Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should +include , which provides this definition. + +This fixes the build with the musl C library. + +Signed-off-by: Thomas Petazzoni +--- + libfuse-lite/fusermount.c | 1 + + libfuse-lite/mount_util.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c +index 4e724db..680fee1 100644 +--- a/libfuse-lite/fusermount.c ++++ b/libfuse-lite/fusermount.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + #ifdef __SOLARIS__ + #include +diff --git a/libfuse-lite/mount_util.c b/libfuse-lite/mount_util.c +index 8ea5e08..8b31722 100644 +--- a/libfuse-lite/mount_util.c ++++ b/libfuse-lite/mount_util.c +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + #include + #ifdef __SOLARIS__ +-- +2.7.4 +