mirror of
https://github.com/RGBCube/serenity
synced 2025-07-31 17:37:46 +00:00
Ports/gltron: Use sdl12-compat instead of SDL2
This commit is contained in:
parent
c98a275931
commit
2fa907b31a
10 changed files with 50 additions and 251 deletions
|
@ -1,44 +1,28 @@
|
|||
# Patches for gltron on SerenityOS
|
||||
|
||||
## `0001-Build-Allow-CFLAGS-env-var-to-be-set.patch`
|
||||
|
||||
Build: Allow `CFLAGS` env var to be set
|
||||
|
||||
|
||||
## `0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch`
|
||||
## `0001-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch`
|
||||
|
||||
Build: Replace `-lGL` with `-lgl` to reference our LibGL
|
||||
|
||||
|
||||
## `0003-Build-Remove-ansi-build-argument.patch`
|
||||
## `0002-Build-Remove-ansi-build-argument.patch`
|
||||
|
||||
Build: Remove `-ansi` build argument
|
||||
|
||||
|
||||
## `0004-Build-Fix-char-vs.-const-char-arguments.patch`
|
||||
## `0003-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.
|
||||
|
||||
## `0005-Scripting-Fix-default-keybindings.patch`
|
||||
## `0004-Build-Disable-nebu-using-SDL-s-glext.h-constants.patch`
|
||||
|
||||
Scripting: Fix default keybindings
|
||||
Build: Disable nebu using SDL's glext.h constants
|
||||
|
||||
These constants referred to the wrong keys.
|
||||
|
||||
## `0006-SDL-Convert-SDL1-to-SDL2.patch`
|
||||
|
||||
SDL: Convert SDL1 to SDL2
|
||||
|
||||
|
||||
## `0007-SDL-Fix-2x-audio-rate-issue.patch`
|
||||
|
||||
SDL: Fix 2x audio rate issue
|
||||
|
||||
By not passing in an `obtained` struct into `SDL_OpenAudio`, we ask SDL
|
||||
to perform any sample rate and/or format conversion for us. Previously
|
||||
GLTron would simply ignore the result in `obtained`, causing the audio
|
||||
to be played back at 2x speed.
|
||||
SerenityOS provides glext.h definitions inside GL/gl.h, but the
|
||||
build process thinks that glext.h doesn't exist, therefore it attempts
|
||||
to use SDL's definitions, which leads to a conflict. Therefore, disable
|
||||
use of said definitions.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue