1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-24 14:10:30 -04:00
ports/net/samba47/files/patch-glusterfs
2017-12-23 23:07:06 +00:00

31 lines
836 B
Text

--- lib/replace/system/filesys.h.orig 2017-12-16 01:37:41 UTC
+++ lib/replace/system/filesys.h
@@ -213,8 +213,10 @@
this allows us to use a uniform error handling for our xattr
wrappers
*/
-#ifndef ENOATTR
+#if !defined(ENOATTR) && defined(ENODATA)
#define ENOATTR ENODATA
+#elif defined(ENOATTR) && !defined(ENODATA)
+#define ENODATA ENOATTR
#endif
--- source3/modules/vfs_glusterfs.c.orig 2017-12-23 08:02:15 UTC
+++ source3/modules/vfs_glusterfs.c
@@ -36,12 +36,13 @@
*/
#include "includes.h"
+#include "system/filesys.h"
+#include "smbd/globals.h"
#include "smbd/smbd.h"
#include <stdio.h>
#include <glusterfs/api/glfs.h>
#include "lib/util/dlinklist.h"
#include "lib/util/tevent_unix.h"
-#include "smbd/globals.h"
#include "lib/util/sys_rw.h"
#include "smbprofile.h"
#include "modules/posixacl_xattr.h"