https://bugs.winehq.org/show_bug.cgi?id=41220
Bug ID: 41220 Summary: Provide fallback implementation of strnlen for OS versions that don't have it in their Libc (Leopard, Snow Leopard, et al) Product: Wine Version: 1.9.17 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: jeremyhu@freedesktop.org
wine-1.9.17 is failing to build on Leopard and Snow Leopard due to strnlen not being available on those OS versions, where d3d10.dll.so and d3d11.dll.so fail to link with:
Undefined symbols for architecture i386: "_strnlen", referenced from: _fx10_get_string in effect.o
Undefined symbols for architecture i386: "_strnlen", referenced from: _shader_parse_signature in shader.o
A fallback implementation of strnlen should be provided for such cases.
https://bugs.winehq.org/show_bug.cgi?id=41220
Ryan Schmidt wine-2016@ryandesign.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-2016@ryandesign.com
https://bugs.winehq.org/show_bug.cgi?id=41220
--- Comment #1 from Ryan Schmidt wine-2016@ryandesign.com --- Issue remains in 2.0.
https://bugs.winehq.org/show_bug.cgi?id=41220
Ricardo Urbina ricardo.urbina@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricardo.urbina@gmail.com
--- Comment #2 from Ricardo Urbina ricardo.urbina@gmail.com --- Created attachment 57134 --> https://bugs.winehq.org/attachment.cgi?id=57134 This patch worked for me on Snow Leopard
I patched this to my src dir and it worked fine, but it needs some preprocessor magic to enable it only for Mac OS X < 10.7.
https://bugs.winehq.org/show_bug.cgi?id=41220
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- This should now be fixed by: https://source.winehq.org/git/wine.git/commit/9d36aad4571b288f5208d35425e172...
https://bugs.winehq.org/show_bug.cgi?id=41220
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |9d36aad4571b288f5208d35425e | |1720c6f145376 Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=41220
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=41220
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=41220
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.5.