https://bugs.winehq.org/show_bug.cgi?id=56047
Bug ID: 56047 Summary: Won't build on FreeBSD, error: 'F_GETPATH' undeclared Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: adrien_fernandes2@hotmail.com
FreeBSD/amd64 15.0-CURRENT main-n266837-3933ff56f9b6: Thu Dec 7 04:11:58 UTC 2023
-----------------
Wine 9.0-rc1 and rc2 won't build on FreeBSD. The error is :
/Wine/wine-9.0-rc2/server/change.c: In function 'get_path_from_fd': /Wine/wine-9.0-rc2/server/change.c:730:21: error: 'F_GETPATH' undeclared (first use in this function) 730 | if (!fcntl( fd, F_GETPATH, ret )) return ret; | ^~~~~~~~~ /Wine/wine-9.0-rc2/server/change.c:730:21: note: each undeclared identifier is reported only once for each function it appears in *** Error code 1
Stop.
-----------------
Is 'F_GETPATH' available on FreeBSD?