mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
9be9bf3379
GemRB is an open-source implementation of the Infinity engine by Bioware, used in some of their classic role-playing games. |
||
---|---|---|
.. | ||
0001-Hard-code-some-paths-for-runtime-purposes.patch | ||
0002-Create-SDL2-renderer-as-unaccelerated.patch | ||
0003-Get-rid-of-swscanf-usage.patch | ||
0004-Be-a-bit-more-lenient-with-matching-savegame-directo.patch | ||
ReadMe.md |
Patches for gemrb on SerenityOS
0001-Hard-code-some-paths-for-runtime-purposes.patch
Hard-code some paths for runtime purposes
GemRB uses the paths where its libraries and data are copied to during installation at runtime by generating a header. This does not work for us, as our paths change from compilation to runtime. The easiest fix for this is to hard-code these paths in the header file.
0002-Create-SDL2-renderer-as-unaccelerated.patch
Create SDL2 renderer as unaccelerated
0003-Get-rid-of-swscanf-usage.patch
Get rid of swscanf() usage
This function is currently not implemented in our LibC.
0004-Be-a-bit-more-lenient-with-matching-savegame-directo.patch
Be a bit more lenient with matching savegame directories
Our sscanf() implementation failed to match this case. Making it more inclusive should be fine, since invalid savegame directories probably won't contain the right files anyway.