1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 10:37:34 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -1,7 +1,7 @@
From 94e90c97566a73cb03c4837d53a4cddf452e42bf Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:29:43 +0200
Subject: [PATCH 1/7] Build: Allow `CFLAGS` env var to be set
Subject: [PATCH] Build: Allow `CFLAGS` env var to be set
---
configure | 2 +-
@ -20,6 +20,3 @@ index 226d00e..05ebf5d 100755
# Check whether --enable-warn or --disable-warn was given.
if test "${enable_warn+set}" = set; then
--
2.34.1

View file

@ -1,7 +1,7 @@
From dd42cfe84e75619676a06b05f8ebe1c1c2e658c9 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:30:04 +0200
Subject: [PATCH 2/7] Build: Replace `-lGL` with `-lgl` to reference our LibGL
Subject: [PATCH] Build: Replace `-lGL` with `-lgl` to reference our LibGL
---
configure | 4 ++--
@ -29,6 +29,3 @@ index 05ebf5d..10f771f 100755
else
{ { echo "$as_me:3177: error: OpenGL is not installed" >&5
--
2.34.1

View file

@ -1,7 +1,7 @@
From b01d5c00dd0dbe9512857e32ffd0822bdfb8a9e3 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:30:54 +0200
Subject: [PATCH 3/7] Build: Remove `-ansi` build argument
Subject: [PATCH] Build: Remove `-ansi` build argument
---
lua/src/Makefile.in | 2 +-
@ -34,6 +34,3 @@ index e2f256f..d2f4040 100644
LDFLAGS =
LIBS = -lm
--
2.34.1

View file

@ -1,7 +1,7 @@
From 0ec20dfd57ae517d18f06c4c580d346fddd2f926 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:32:04 +0200
Subject: [PATCH 4/7] Build: Fix `char*` vs. `const char*` arguments
Subject: [PATCH] Build: Fix `char*` vs. `const char*` arguments
These arguments are of the wrong constness, which will trip our
compiler.
@ -26,6 +26,3 @@ index 867eada..f5d8084 100644
extern void scripting_RunGC();
extern void scripting_Register(const char *name, int(*func) (lua_State *L));
--
2.34.1

View file

@ -1,7 +1,7 @@
From d2a56ba682814f2d2451fc0729ada79290de2939 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:36:08 +0200
Subject: [PATCH 5/7] Scripting: Fix default keybindings
Subject: [PATCH] Scripting: Fix default keybindings
These constants referred to the wrong keys.
---
@ -41,6 +41,3 @@ index 3c9e6d2..4755678 100644
},
{ -- player 3
left = 276, -- cursor left
--
2.34.1

View file

@ -1,7 +1,7 @@
From bcaa941ae5b682862aacff18e44a8a33294ba716 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 00:53:48 +0200
Subject: [PATCH 6/7] SDL: Convert SDL1 to SDL2
Subject: [PATCH] SDL: Convert SDL1 to SDL2
---
nebu/input/input_system.c | 7 ++++---
@ -108,6 +108,3 @@ index bb787e5..c35eeca 100644
/* joystick */
if(SDL_Init(SDL_INIT_JOYSTICK) >= 0) {
--
2.34.1

View file

@ -1,7 +1,7 @@
From ad6b92ee167f1241de38da428a01c27f410f3d49 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Mon, 9 May 2022 01:01:47 +0200
Subject: [PATCH 7/7] SDL: Fix 2x audio rate issue
Subject: [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
@ -24,6 +24,3 @@ index 9753f09..e08b1b3 100644
fprintf(stderr, "[error] %s\n", SDL_GetError());
sound->SetStatus(Sound::eUninitialized);
} else {
--
2.34.1