From b7038962bd0ac2616d1ba207df765d9c0e77c492 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 24 Nov 2018 18:56:49 -0200 Subject: [PATCH] moosefs: update to 3.0.103. --- srcpkgs/moosefs/patches/fix-musl.patch | 17 +++++++++++++++++ srcpkgs/moosefs/patches/musl.patch | 10 ---------- srcpkgs/moosefs/template | 5 +++-- 3 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 srcpkgs/moosefs/patches/fix-musl.patch delete mode 100644 srcpkgs/moosefs/patches/musl.patch diff --git a/srcpkgs/moosefs/patches/fix-musl.patch b/srcpkgs/moosefs/patches/fix-musl.patch new file mode 100644 index 00000000000..74c3f2c42ff --- /dev/null +++ b/srcpkgs/moosefs/patches/fix-musl.patch @@ -0,0 +1,17 @@ +author: maxice8 +Upstream: no +Reason: fixes musl compilation + +diff --git a/mfsclient/mfsio.c b/mfsclient/mfsio.c +index 2c624e9..cd99a53 100644 +--- mfsclient/mfsio.c ++++ mfsclient/mfsio.c +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + #include "MFSCommunication.h" + #include "mastercomm.h" + diff --git a/srcpkgs/moosefs/patches/musl.patch b/srcpkgs/moosefs/patches/musl.patch deleted file mode 100644 index 9887837a457..00000000000 --- a/srcpkgs/moosefs/patches/musl.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- mfsmount/mfs_fuse.c.orig 2016-07-17 18:56:40.670701543 +0200 -+++ mfsmount/mfs_fuse.c 2016-07-17 18:57:03.222961265 +0200 -@@ -28,6 +28,7 @@ - #include "config.h" - #endif - -+#include /* LOCK_UN */ - #include - #include - #include diff --git a/srcpkgs/moosefs/template b/srcpkgs/moosefs/template index cd9e7eb27e9..1d6d05895bb 100644 --- a/srcpkgs/moosefs/template +++ b/srcpkgs/moosefs/template @@ -1,6 +1,6 @@ # Template file for 'moosefs' pkgname=moosefs -version=3.0.101 +version=3.0.103 revision=1 build_style=gnu-configure configure_args="--localstatedir=/var/lib --with-default-user=_mfs --with-default-group=_mfs" @@ -12,12 +12,13 @@ maintainer="Juan RP " license="GPL-2.0-only" homepage="http://moosefs.org/" distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz" -checksum=f1dbf1d24f701d980631b0d394a3c951e7f45bcc3eff0c038e0ec4b23c746175 +checksum=d8dc9fb7fb72b6f6991e422cbd32320811fa40207c5ced14aebb0ad89dd6af43 pre_configure() { sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac autoreconf -fi } + post_install() { mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin for f in chunkserver master metalogger; do