moosefs: fix musl

This commit is contained in:
Enno Boland 2020-06-08 08:21:18 +02:00
parent eb5a8596ec
commit 96cbc4d778
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- mfsclient/nbdmain.c.orig 2020-06-08 08:19:08.422379805 +0200
+++ mfsclient/nbdmain.c 2020-06-08 08:18:55.079380447 +0200
@@ -39,6 +39,7 @@
#include <errno.h>
#include <inttypes.h>
#include <pthread.h>
+#include <sys/file.h>
#ifdef HAVE_LINUX_NBD_H
#include <linux/nbd.h>

View file

@ -1,7 +1,7 @@
# Template file for 'moosefs'
pkgname=moosefs
version=3.0.113
revision=1
revision=2
build_style=gnu-configure
configure_args="--localstatedir=/var/lib --with-default-user=_mfs
--with-default-group=_mfs"