https://bugs.winehq.org/show_bug.cgi?id=12854
--- Comment #15 from François Gouget fgouget@codeweavers.com --- Created attachment 75110 --> https://bugs.winehq.org/attachment.cgi?id=75110 server: support inotify file change notifications on FreeBSD
Patch from: https://www.winehq.org/mailman3/hyperkitty/list/wine-devel@winehq.org/messag...
See also Damjan Jovanovic's email stating that the fd->path translation must be done differently on macOS, NetBSD and OpenBSD: https://www.winehq.org/mailman3/hyperkitty/list/wine-devel@winehq.org/messag...
So the patch probably still needs to be modified so Wine is built without file change notification in case there it no fd->path support for the platform instead of causing a build error.
For macOS proc_pidinfo() may be the way to go: http://blog.palominolabs.com/2012/06/19/getting-the-files-being-used-by-a-pr...