1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 03:57:45 +00:00
serenity/Ports/gltron/patches/ReadMe.md
Jelle Raaijmakers b2eaed43e9 Ports: Remove LibGL workarounds
Now that ports can find our OpenGL headers and shared library, remove
all configuration and patches that was previously needed to make ports
compile with LibGL.
2024-02-22 03:48:08 +01:00

25 lines
683 B
Markdown

# Patches for gltron on SerenityOS
## `0001-Build-Remove-ansi-build-argument.patch`
Build: Remove `-ansi` build argument
## `0002-Build-Fix-char-vs.-const-char-arguments.patch`
Build: Fix `char*` vs. `const char*` arguments
These arguments are of the wrong constness, which will trip our
compiler.
## `0003-System-Make-sure-to-exit-the-loop-on-receiving-SDL_Q.patch`
System: Make sure to exit the loop on receiving SDL_QUIT
This is fixed in more modern adaptations, as can be seen here:
https://github.com/laanwj/gltron/blob/336dbbb75afe0aed1d9faaa5bbaa867b2b13d10b/nebu/base/system.c#L135
Since we work with the original source material, we better patch this
ourselves.