[Bug 50525] New: ws2 _32 fails to build on macOS
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(a)winehq.org Reporter: gijsvrm(a)gmail.com CC: pgofman(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50525 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50525 --- Comment #1 from Paul Gofman <pgofman(a)codeweavers.com> --- Created attachment 69188 --> https://bugs.winehq.org/attachment.cgi?id=69188 Patch Does the attached patch help? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50525 --- Comment #2 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- (In reply to Paul Gofman from comment #1)
Created attachment 69188 [details] Patch
Does the attached patch help?
The patch works, thanks. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50525 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |e0238b6c767ada383522792be90 | |247b6453ec506 Status|NEW |RESOLVED --- Comment #3 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Fixed by: <https://source.winehq.org/git/wine.git/commit/e0238b6c767ada383522792be90247b6453ec506> Thanks for the quick fix, Paul! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50525 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla