summaryrefslogtreecommitdiff
path: root/Ports/gltron/patches
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-06-05 03:05:04 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 17:58:36 +0100
commitd426c5a4b2eac839497cc2cbeee4b87a1c9ee422 (patch)
treec3484b5625b583fc7da9cc3a7f53b4dc69186fa5 /Ports/gltron/patches
parentd69a79b03b8f2853b60773e38553d662a01ac269 (diff)
downloadserenity-d426c5a4b2eac839497cc2cbeee4b87a1c9ee422.zip
Ports: Format patches without numbering, commit hash or version number
Diffstat (limited to 'Ports/gltron/patches')
-rw-r--r--Ports/gltron/patches/0001-Build-Allow-CFLAGS-env-var-to-be-set.patch7
-rw-r--r--Ports/gltron/patches/0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch7
-rw-r--r--Ports/gltron/patches/0003-Build-Remove-ansi-build-argument.patch7
-rw-r--r--Ports/gltron/patches/0004-Build-Fix-char-vs.-const-char-arguments.patch7
-rw-r--r--Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch7
-rw-r--r--Ports/gltron/patches/0006-SDL-Convert-SDL1-to-SDL2.patch7
-rw-r--r--Ports/gltron/patches/0007-SDL-Fix-2x-audio-rate-issue.patch7
7 files changed, 14 insertions, 35 deletions
diff --git a/Ports/gltron/patches/0001-Build-Allow-CFLAGS-env-var-to-be-set.patch b/Ports/gltron/patches/0001-Build-Allow-CFLAGS-env-var-to-be-set.patch
index 6e5504779e..3b776b5c30 100644
--- a/Ports/gltron/patches/0001-Build-Allow-CFLAGS-env-var-to-be-set.patch
+++ b/Ports/gltron/patches/0001-Build-Allow-CFLAGS-env-var-to-be-set.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch b/Ports/gltron/patches/0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch
index 92b652b56b..6f13fba93e 100644
--- a/Ports/gltron/patches/0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch
+++ b/Ports/gltron/patches/0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0003-Build-Remove-ansi-build-argument.patch b/Ports/gltron/patches/0003-Build-Remove-ansi-build-argument.patch
index 2b5938bb73..34db1f8964 100644
--- a/Ports/gltron/patches/0003-Build-Remove-ansi-build-argument.patch
+++ b/Ports/gltron/patches/0003-Build-Remove-ansi-build-argument.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0004-Build-Fix-char-vs.-const-char-arguments.patch b/Ports/gltron/patches/0004-Build-Fix-char-vs.-const-char-arguments.patch
index de18e070aa..51281b22ab 100644
--- a/Ports/gltron/patches/0004-Build-Fix-char-vs.-const-char-arguments.patch
+++ b/Ports/gltron/patches/0004-Build-Fix-char-vs.-const-char-arguments.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch b/Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch
index 29a51fe0b0..d0cfef6cc7 100644
--- a/Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch
+++ b/Ports/gltron/patches/0005-Scripting-Fix-default-keybindings.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0006-SDL-Convert-SDL1-to-SDL2.patch b/Ports/gltron/patches/0006-SDL-Convert-SDL1-to-SDL2.patch
index 9d988c95d3..1540343571 100644
--- a/Ports/gltron/patches/0006-SDL-Convert-SDL1-to-SDL2.patch
+++ b/Ports/gltron/patches/0006-SDL-Convert-SDL1-to-SDL2.patch
@@ -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
-
diff --git a/Ports/gltron/patches/0007-SDL-Fix-2x-audio-rate-issue.patch b/Ports/gltron/patches/0007-SDL-Fix-2x-audio-rate-issue.patch
index 12df655787..c994c4184d 100644
--- a/Ports/gltron/patches/0007-SDL-Fix-2x-audio-rate-issue.patch
+++ b/Ports/gltron/patches/0007-SDL-Fix-2x-audio-rate-issue.patch
@@ -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
-