[MacPorts] #53433: wine, wine-devel, wine-crossover: Undefined symbols: "_strnlen"
MacPorts
noreply at macports.org
Tue Apr 25 08:15:51 UTC 2017
#53433: wine, wine-devel, wine-crossover: Undefined symbols: "_strnlen"
-----------------------------------------------+-------------------------
Reporter: Umo022 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.0
Resolution: | Keywords: snowleopard
Port: wine, wine-devel, wine-crossover |
-----------------------------------------------+-------------------------
Comment (by Umo022):
Wine has now been updated to rev 2.0.1_0 and my previous patch for adding
strnlen to effect.c and shader.c no longer work. "effect.o" is fixed by
adding the strnlen() definition to it as before, but shader.c seems to
have been completely rewritten and simply adding strnlen() to it fails as
follows:
1. Leaving shader.c unaltered results in "_strnlen() not found in call to
shader_parse_signature".
2. Forcibly adding strnlen() to shader.c results in "Duplicate symbol:
_strnlen in effect.o and shader.o".
At first glance, shader.c seems to be a mass of macros. Of course, there
is no actual obvious call to shader_parse_signature() to fix ... it's
actually now defined in effect.c, so it'll take a more detailed
examination of how shader.c is now doing this...
Attached is the log of adding strnlen() to effect.c, but not shader.c.
--
Ticket URL: <https://trac.macports.org/ticket/53433#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list