https://bugs.winehq.org/show_bug.cgi?id=50525
Bug ID: 50525 Summary: ws2 _32 fails to build on macOS Product: Wine Version: unspecified Hardware: x86-64 OS: Mac OS X Status: NEW Keywords: regression Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com CC: pgofman@codeweavers.com Regression SHA1: 03fcb54c0e852b93b94bd11225237af84cdc3697
/Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4542:17: error: no member named 'ifr_ifindex' in 'struct ifreq' if_info.ifr_ifindex = table->table[interface_count].dwIndex; ~~~~~~~ ^ /Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4543:23: error: use of undeclared identifier 'SIOCGIFNAME' if (ioctl(fd, SIOCGIFNAME, &if_info) < 0) ^ /Users/gverm/Desktop/Work/wine/dlls/ws2_32/socket.c:4545:77: error: no member named 'ifr_ifindex' in 'struct ifreq' ERR("Error obtaining interface name for ifindex %d.\n", if_info.ifr_ifindex); ~~~~~~~ ^ I am running macOS 10.14 Mojave and compiling wine with mingw and the macOS 10.13 SDK.
https://bugs.winehq.org/show_bug.cgi?id=50525
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker
https://bugs.winehq.org/show_bug.cgi?id=50525
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- Created attachment 69188 --> https://bugs.winehq.org/attachment.cgi?id=69188 Patch
Does the attached patch help?
https://bugs.winehq.org/show_bug.cgi?id=50525
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Paul Gofman from comment #1)
Created attachment 69188 [details] Patch
Does the attached patch help?
The patch works, thanks.
https://bugs.winehq.org/show_bug.cgi?id=50525
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |e0238b6c767ada383522792be90 | |247b6453ec506 Status|NEW |RESOLVED
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by: https://source.winehq.org/git/wine.git/commit/e0238b6c767ada383522792be90247b6453ec506
Thanks for the quick fix, Paul!
https://bugs.winehq.org/show_bug.cgi?id=50525
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.1.