summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/tomatoes/files/1.5-gcc34.patch')
-rw-r--r--games-arcade/tomatoes/files/1.5-gcc34.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-arcade/tomatoes/files/1.5-gcc34.patch b/games-arcade/tomatoes/files/1.5-gcc34.patch
new file mode 100644
index 000000000000..5666195f2e28
--- /dev/null
+++ b/games-arcade/tomatoes/files/1.5-gcc34.patch
@@ -0,0 +1,20 @@
+--- src/texture.cpp_old 2004-10-19 01:30:14.744127000 +0900
++++ src/texture.cpp 2004-10-19 01:30:34.948055536 +0900
+@@ -108,7 +108,7 @@
+ SDL_LockSurface(img);
+
+ // Flip the surface pixels upside down
+- Uint8 *line = new (Uint8)[img->w*img->format->BytesPerPixel];
++ Uint8 *line = new Uint8[img->w*img->format->BytesPerPixel];
+ if(!line)
+ error_msg("Unable to flip surface %s:\nOut of memory!\n");
+
+@@ -207,7 +207,7 @@
+ SDL_LockSurface(img);
+
+ // Flip the surface pixels upside down
+- Uint8 *line = new (Uint8)[img->w*img->format->BytesPerPixel];
++ Uint8 *line = new Uint8[img->w*img->format->BytesPerPixel];
+ if(!line)
+ error_msg("Unable to flip surface %s:\nOut of memory!\n");
+