Index: cli/src/Makefile.in
--- cli/src/Makefile.in.orig	2019-03-19 16:07:27.176018015 +0100
+++ cli/src/Makefile.in	2019-03-26 20:27:32.801182000 +0100
@@ -107,8 +107,8 @@
 gluster_DEPENDENCIES =  \
 	$(top_builddir)/libglusterfs/src/libglusterfs.la \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-	$(top_builddir)/rpc/xdr/src/libgfxdr.la \
 	$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
+	$(top_builddir)/rpc/xdr/src/libgfxdr.la \
 	$(am__DEPENDENCIES_1)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
@@ -407,8 +407,8 @@
 	 cli-cmd-system.c cli-cmd-misc.c cli-xml-output.c cli-quotad-client.c cli-cmd-snapshot.c
 
 gluster_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GF_LDADD) \
-		$(RLLIBS) $(top_builddir)/rpc/xdr/src/libgfxdr.la \
 		$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
+		$(RLLIBS) $(top_builddir)/rpc/xdr/src/libgfxdr.la \
 		$(XML_LIBS)
 
 gluster_LDFLAGS = $(GF_LDFLAGS)
Index: configure
--- configure.orig	2019-03-19 16:07:25.314013741 +0100
+++ configure	2019-03-26 20:28:57.358860000 +0100
@@ -14368,6 +14368,9 @@
      linux*)
 #do nothing
        ;;
+     freebsd*)
+#do nothing
+       ;;
      netbsd*)
 #do nothing
        ;;
@@ -15392,7 +15395,7 @@
 fi
 
 saved_CFLAGS=$CFLAGS
-CFLAGS="-Wformat -Werror=format-security"
+CFLAGS=""
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=format-security" >&5
 $as_echo_n "checking whether $CC accepts -Werror=format-security... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15419,7 +15422,7 @@
 CFLAGS="$saved_CFLAGS"
 
 saved_CFLAGS=$CFLAGS
-CFLAGS="-Werror=implicit-function-declaration"
+CFLAGS=""
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=implicit-function-declaration" >&5
 $as_echo_n "checking whether $CC accepts -Werror=implicit-function-declaration... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Index: contrib/fuse-lib/mount.c
--- contrib/fuse-lib/mount.c.orig	2019-03-19 16:07:19.852001206 +0100
+++ contrib/fuse-lib/mount.c	2019-03-26 20:27:32.803225000 +0100
@@ -384,6 +384,7 @@
         build_iovec (&iov, &iovlen, "from", "/dev/fuse", -1);
         build_iovec (&iov, &iovlen, "volname", source, -1);
         build_iovec (&iov, &iovlen, "fd", fdstr, -1);
+        build_iovec (&iov, &iovlen, "allow_other", NULL, -1);
         ret = nmount (iov, iovlen, mountflags);
 #else
         ret = mount (source, mountpoint, fstype, mountflags,
