[Fakeroot-commits] [SCM] Debian packaging of fakeroot branch, upstream, updated. 63fbf30376b81f2d8a540d36cd3ab223a15c406f

Kyle J. McKay mackyle at gmail.com
Fri May 17 00:11:18 UTC 2013


The following commit has been merged in the upstream branch:
commit 8dde82eecad1e5c1814734e6677b828a5151d8da
Author: Kyle J. McKay <mackyle at gmail.com>
Date:   Sat Nov 3 21:44:06 2012 -0700

    Disable xattr functions on __APPLE__ for now
    
    The eight supported *xattr functions on __APPLE__ all have
    different prototypes from the same-named Linux versions and will
    require more changes to be supported properly.

diff --git a/libfakeroot.c b/libfakeroot.c
index 14de8e1..7e6c0c6 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -59,6 +59,23 @@
 #include "config.h"
 #include "communicate.h"
 
+#ifdef __APPLE__
+/* The *xattr functions are currently disabled on __APPLE__ since the prototypes
+   are all different from the Linux versions and there is, as of yet, no
+   STUPID_APPLE_HACK (or similar) to deal with the differences.
+   Note that __APPLE__ does not have the l*xattr variants or capset so those
+   will already be undefined.
+*/
+#undef HAVE_LISTXATTR
+#undef HAVE_FLISTXATTR
+#undef HAVE_GETXATTR
+#undef HAVE_FGETXATTR
+#undef HAVE_SETXATTR
+#undef HAVE_FSETXATTR
+#undef HAVE_REMOVEXATTR
+#undef HAVE_FREMOVEXATTR
+#endif /* __APPLE__ */
+
 #ifdef STUPID_ALPHA_HACK
 #define SEND_STAT(a,b,c) send_stat(a,b,c)
 #define SEND_STAT64(a,b,c) send_stat64(a,b,c)

-- 
Debian packaging of fakeroot



More information about the Fakeroot-commits mailing list