I don't know how much changes is acceptable, and we will probably want to keep differences minimal, but @julliard can maybe tell us whether he prefers external libs to be slightly modified, vs Wine code to workaround their behavior.
Patching the bundled libs is OK if the changes are small. Of course getting it fixed upstream is even better.