2022-05-16 14:51:28 +00:00
|
|
|
# Patches for Super-Mario on SerenityOS
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
## `0001-chdir-to-the-installed-directory-before-execution.patch`
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
chdir() to the installed directory before execution
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
The game expects its assets in the current directory, but we install
|
|
|
|
those to /opt/Super_Mario, so chdir() there at program startup to avoid
|
|
|
|
crashing.
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
## `0002-Disable-graphics-acceleration.patch`
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
Disable graphics acceleration
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
Disables SDL2 hardware acceleration as we don't support that.
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
## `0003-Use-pkgconfig-instead-of-find_package-to-look-for-de.patch`
|
2022-01-11 13:47:26 +00:00
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
Use pkgconfig instead of find_package() to look for dependencies
|
2022-01-11 13:47:26 +00:00
|
|
|
|
|
|
|
|
2022-05-16 14:51:28 +00:00
|
|
|
## `0004-Fix-a-header-include-path.patch`
|
|
|
|
|
|
|
|
Fix a header include path
|
|
|
|
|
|
|
|
|
|
|
|
## `0005-Remove-global-static-initializers.patch`
|
|
|
|
|
|
|
|
Remove global static initializers
|
|
|
|
|
2022-01-11 13:47:26 +00:00
|
|
|
|