[Buildroot] [PATCH 1/1] fuse-overlayfs: fix build with musl

Asaf Kahlon asafka7 at gmail.com
Mon Jun 22 17:59:55 UTC 2020


Fixes:
http://autobuild.buildroot.net/results/57d/57d6f6bcbf3c0f8761c924f8a69c71dee05dd6c3//

Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
---
 ...1-direct.c-fix-compilation-with-musl.patch | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch

diff --git a/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch b/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch
new file mode 100644
index 0000000000..66b4e24346
--- /dev/null
+++ b/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch
@@ -0,0 +1,28 @@
+From 27a01e622e1f26b3c60137c3123c0b667b3f6579 Mon Sep 17 00:00:00 2001
+From: Asaf Kahlon <asafka7 at gmail.com>
+Date: Mon, 22 Jun 2020 20:48:36 +0300
+Subject: [PATCH 1/1] direct.c: fix compilation with musl
+
+Upstream PR status:
+https://github.com/containers/fuse-overlayfs/pull/219
+
+Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
+---
+ direct.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/direct.c b/direct.c
+index 67bed20..39e5c8f 100644
+--- a/direct.c
++++ b/direct.c
+@@ -25,6 +25,7 @@
+ 
+ #include "fuse-overlayfs.h"
+ 
++#include "limits.h"
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-- 
+2.26.2
+
-- 
2.26.2



More information about the buildroot mailing list