https://bugs.winehq.org/show_bug.cgi?id=56665
Brendan Shanks bshanks@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks@codeweavers.com
--- Comment #8 from Brendan Shanks bshanks@codeweavers.com --- The problem is that FreeBSD does not install many of clang's standard C headers (including stdint.h), in favor of the ones installed in /usr/include. This breaks Wine's detection of clang as a PE cross-compiler. The wine-devel port contains files/clang/stdarg.h along with passing 'CROSSCFLAGS="-isystem ${FILESDIR}/clang"' to configure to work around this, maybe that just needs to be copied over to the wine port.
I filed a FreeBSD bug for this https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274542. And started trying to fix it but there needs to be a discussion about it, I have an email I'm going to send out soon.