http://bugs.winehq.org/show_bug.cgi?id=28857
--- Comment #22 from Juan Lang juan.lang@gmail.com 2011-10-23 17:35:38 CDT --- (In reply to comment #21)
Actually, it just occurred to me that we might not want to fix this on the Wine side. If struct xinpgen is the wrong size, other structures probably are, too.
The kernel should be well aware of when it's dealing with a 32-bit process, and should return 32-bit structures accordingly. (That's what the Mac OS kernel does.) At the very least, the 32-bit libc should be converting 64-bit structures into their 32-bit equivalents. In any case, it's time to file a FreeBSD bug.
(Note: I don't have permission to close the bug upstream, but that's normally what I would do at this point.)
Agreed, this seems very much like a FreeBSD bug.