On 12/4/20 8:44 AM, Gerald Pfeifer wrote:
On Sat, 24 Oct 2020, Gerald Pfeifer wrote:
Here is a patch on top (of the Wine Staging patchset) that is required.
Can you please include that? Thank you!
Thanks to (I believe Zebediah) for addressing those issues!
I have to confess there is one snippet I missed. With the additional patch below Wine 5.22 + Staging patchset builds on FreeBSD 11 out of the box.
Thank you for considering that; for now I'm carrying it as part of the FreeBSD emulators/wine-devel port.
Thanks for the report; this should hopefully be fixed by 2dc013940d2aae1b2e9de887d9ddb490e8a7a6fc.
Gerald
--- dlls/ntdll/unix/file.c.orig 2020-11-07 09:33:27.083812000 +0000 +++ dlls/ntdll/unix/file.c 2020-11-07 09:53:55.641522000 +0000 @@ -394,6 +394,18 @@ #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) #endif
+#ifdef HAVE_SYS_EXTATTR_H +static inline int xattr_valid_namespace( const char *name ) +{
- if (strncmp( XATTR_USER_PREFIX, name, XATTR_USER_PREFIX_LEN ) != 0)
- {
errno = EPERM;
return 0;
- }
- return 1;
+} +#endif
static int xattr_fremove( int filedes, const char *name ) { #if defined(XATTR_ADDITIONAL_OPTIONS)