Hello Gerald,
On 10/14/20 3:11 PM, Gerald Pfeifer wrote:
Alistair Leslie-Hughes wrote:
As always, if you find a bug, please report it via https://bugs.winehq.org
I did that with https://bugs.winehq.org/show_bug.cgi?id=49829 ("file.c:237:37: error: 'EXTATTR_NAMESPACE_USER' undeclared on FreeBSD") and even have debugged this and found a first fix.
This should be fixed by https://github.com/wine-staging/wine-staging/commit/6d726da3ba0130385e352be0c534399d5c7eb29d; sorry for the delay.
Alas the instructions at https://wiki.winehq.org/Wine-Staging do not really apply: The link provided goes into Bugzilla.
Which link is that? I can't seem to find any.
Anyway, here is that first step towards fixing things up on FreeBSD.
Gerald
Properly include sys/extattr.h when available.
dlls/ntdll/unix/file.c special cases when sys/extattr.h is available, alas failed to actually include that file.
Signed-off-by: Gerald Pfeifer gerald@pfeifer.com
--- dlls/ntdll/unix/file.c.orig 2020-10-14 19:03:39.476740000 +0000 +++ dlls/ntdll/unix/file.c 2020-10-14 19:49:03.226593000 +0000 @@ -112,6 +112,9 @@ #elif defined(HAVE_SYS_XATTR_H) #include <sys/xattr.h> #endif +#ifdef HAVE_SYS_EXTATTR_H +#include <sys/extattr.h> +#endif #include <time.h> #ifdef HAVE_UNISTD_H # include <unistd.h>