On Fri, 16 Oct 2020, Gerald Pfeifer wrote:
Digging into this further, I noticed Zebediah's commit https://github.com/wine-staging/wine-staging/commit/1d149ff59d6d4b400ad53eb5... was the one breaking FreeBSD here.
Wine Staging 5.20 still is broken, sadly, after Zebediah's change.
Here is a patch on top (of the Wine Staging patchset) that is required.
Can you please include that? Thank you!
Gerald
--- dlls/ntdll/unix/file.c.orig 2020-10-24 12:22:03.186448000 +0000 +++ dlls/ntdll/unix/file.c 2020-10-24 12:55:07.253137000 +0000 @@ -390,6 +390,10 @@ #define XATTR_USER_PREFIX "user." #endif
+#ifndef XATTR_USER_PREFIX_LEN +#define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) +#endif + static int xattr_fremove( int filedes, const char *name ) { #if defined(XATTR_ADDITIONAL_OPTIONS)