You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

79 lines
2.8 KiB

Index: cli/src/Makefile.in
--- cli/src/Makefile.in.orig 2016-06-14 17:39:04.047141000 +0200
+++ cli/src/Makefile.in 2016-06-15 18:29:49.793927515 +0200
@@ -117,8 +117,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@)
@@ -412,8 +412,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 2016-06-14 17:39:03.096137000 +0200
+++ configure 2016-06-15 18:32:48.203817180 +0200
@@ -13067,6 +13067,9 @@
linux*)
#do nothing
;;
+ freebsd*)
+#do nothing
+ ;;
netbsd*)
#do nothing
;;
@@ -14275,7 +14278,7 @@
GF_LDFLAGS="-rdynamic"
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
@@ -14305,8 +14308,8 @@
saved_CFLAGS=$CFLAGS
saved_GF_CFLAGS=$GF_CFLAGS
-CFLAGS="-Werror=implicit-function-declaration"
-GF_CFLAGS="-Werror=implicit-function-declaration"
+CFLAGS=""
+GF_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 2016-06-14 17:38:59.190122000 +0200
+++ contrib/fuse-lib/mount.c 2016-06-15 18:29:49.804043256 +0200
@@ -256,6 +256,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,
Index: libglusterfs/src/compat-uuid.h
--- libglusterfs/src/compat-uuid.h.orig 2016-06-14 17:38:59.226122000 +0200
+++ libglusterfs/src/compat-uuid.h 2016-06-15 18:29:49.804043256 +0200
@@ -13,7 +13,7 @@
#if defined(HAVE_LIBUUID) /* Linux like libuuid.so */
-#include <uuid.h>
+#include "uuid.h"
static inline void
gf_uuid_clear (uuid_t uuid)