summaryrefslogtreecommitdiff
path: root/games/alephone/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/alephone/files')
-rw-r--r--games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp11
-rw-r--r--games/alephone/files/patch-aa10
-rw-r--r--games/alephone/files/patch-ab10
3 files changed, 20 insertions, 11 deletions
diff --git a/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp b/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp
deleted file mode 100644
index e9a9e1636ed4..000000000000
--- a/games/alephone/files/patch-Source_Files::Misc::screen_sdl.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- Source_Files/Misc/screen_sdl.cpp.orig Sat Apr 28 01:48:07 2001
-+++ Source_Files/Misc/screen_sdl.cpp Sat Apr 28 01:49:40 2001
-@@ -625,7 +625,7 @@
- build_sdl_color_table(color_table, colors);
- SDL_SetPalette(main_surface, SDL_PHYSPAL, colors, 0, 256);
- } else {
--#if SDL_PATCHLEVEL > 6
-+#if SDL_VERSION_ATLEAST(1,1,7)
- // SDL 1.1.7 defines these as 16-bit arrays...
- uint16 red[256], green[256], blue[256];
- for (int i=0; i<color_table->color_count; i++) {
diff --git a/games/alephone/files/patch-aa b/games/alephone/files/patch-aa
new file mode 100644
index 000000000000..be3cacca3600
--- /dev/null
+++ b/games/alephone/files/patch-aa
@@ -0,0 +1,10 @@
+--- Source_Files/ModelView/ModelRenderer.cpp.orig Sun Sep 2 07:24:31 2001
++++ Source_Files/ModelView/ModelRenderer.cpp Thu Feb 7 10:33:05 2002
+@@ -5,7 +5,6 @@
+ */
+
+ #include <string.h>
+-#include <alloca.h>
+ #include "cseries.h"
+ #include "ModelRenderer.h"
+
diff --git a/games/alephone/files/patch-ab b/games/alephone/files/patch-ab
new file mode 100644
index 000000000000..ed445293c9b1
--- /dev/null
+++ b/games/alephone/files/patch-ab
@@ -0,0 +1,10 @@
+--- tools/dumpwad.cpp.orig Wed Jun 6 08:31:42 2001
++++ tools/dumpwad.cpp Thu Feb 7 10:51:25 2002
+@@ -13,6 +13,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdarg.h>
+
+ // Dummy declarations to avoid link errors
+ void set_game_error(short a, short b) {}