https://bugs.winehq.org/show_bug.cgi?id=35397
--- Comment #18 from David Naylor naylor.b.david@gmail.com --- I confirm that wine-staging 1.9.5 has a work-around for this issue however, per the patch from https://github.com/wine-compholio/wine-staging/blob/master/patches/ntdll-Fre... it is simply disabling the use of getdirentries on FreeBSD, instead of fixing it.
See also https://bugs.wine-staging.com/show_bug.cgi?id=670