https://bugs.winehq.org/show_bug.cgi?id=40884
--- Comment #10 from hash HASH.DuOrden@gmail.com --- I tested on wine-2.3 and now it works. New prefix/old prefix - no difference, it's just works! So I suppose I am going to close this bug as resolved as soon as I found out which commit did the trick! About Bug 40990 I cannot say anything since I do not use FreeBSD.