summaryrefslogtreecommitdiffstats
path: root/disk
diff options
context:
space:
mode:
authorIsmael Luceno2019-06-28 23:09:50 +0200
committerIsmael Luceno2019-06-28 23:09:50 +0200
commit3e201f0f564b362af1b398c3f342191b2885647a (patch)
tree11ad84c463095abcddafb1e6b0cd91b513ad41fd /disk
parentd5f9af719980bbd4287aa4f477650d76eca6322d (diff)
fuse3: Fix build against musl
Diffstat (limited to 'disk')
-rw-r--r--disk/fuse3/HISTORY5
-rwxr-xr-xdisk/fuse3/PRE_BUILD1
-rw-r--r--disk/fuse3/patches/0000-missing-includes.patch27
3 files changed, 32 insertions, 1 deletions
diff --git a/disk/fuse3/HISTORY b/disk/fuse3/HISTORY
index d3b6374ab7..39c2e31690 100644
--- a/disk/fuse3/HISTORY
+++ b/disk/fuse3/HISTORY
@@ -1,3 +1,7 @@
+2019-06-28 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD, patches/0000-missing-includes.patch:
+ Fixed build against musl
+
2019-06-13 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 3.6.1
@@ -50,4 +54,3 @@
2017-02-21 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 3.0.0
spell created based on fuse spell
-
diff --git a/disk/fuse3/PRE_BUILD b/disk/fuse3/PRE_BUILD
index b097f71c9f..584a8bcf1b 100755
--- a/disk/fuse3/PRE_BUILD
+++ b/disk/fuse3/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+apply_patch_dir patches &&
# do not install init script
sed -i '/init_script/,/fi/D' util/install_helper.sh
diff --git a/disk/fuse3/patches/0000-missing-includes.patch b/disk/fuse3/patches/0000-missing-includes.patch
new file mode 100644
index 0000000000..0ed15d6e77
--- /dev/null
+++ b/disk/fuse3/patches/0000-missing-includes.patch
@@ -0,0 +1,27 @@
+From d6f6cd2213ad7421230ec1682189ce7a71290b53 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael@sourcemage.org>
+Date: Fri, 28 Jun 2019 23:06:43 +0200
+Subject: [PATCH] example: Add missing includes
+
+Fixes build against musl libc.
+
+Signed-off-by: Ismael Luceno <ismael@sourcemage.org>
+---
+ example/passthrough_hp.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc
+index 974551ea4553..61ab68562116 100644
+--- a/example/passthrough_hp.cc
++++ b/example/passthrough_hp.cc
+@@ -67,6 +67,7 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <pthread.h>
++#include <limits.h>
+
+ // C++ includes
+ #include <cstddef>
+--
+2.22.0
+