minerva / Ports / gltron / patches /
@minerva minerva authored on 13 Jul
..
0001-Build-Remove-ansi-build-argument.patch Initial commit 7 months ago
0002-Build-Fix-char-vs.-const-char-arguments.patch Initial commit 7 months ago
0003-System-Make-sure-to-exit-the-loop-on-receiving-SDL_Q.patch Initial commit 7 months ago
ReadMe.md Initial commit 7 months ago
ReadMe.md

Patches for gltron on Minerva

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.