diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-10-19 02:35:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-10-19 02:35:57 +0000 |
commit | fd852620ee57aed5c61234ee65b6b873acf4f265 (patch) | |
tree | 7a49ed7c17b7c7e23d261e6ac7bfda7c847b22aa /games-arcade/tomatoes/files | |
parent | fix removeal of -r1 without any notice (Manifest recommit) (diff) | |
download | gentoo-2-fd852620ee57aed5c61234ee65b6b873acf4f265.tar.gz gentoo-2-fd852620ee57aed5c61234ee65b6b873acf4f265.tar.bz2 gentoo-2-fd852620ee57aed5c61234ee65b6b873acf4f265.zip |
gcc34 patch from Chris White via bug #68089
Diffstat (limited to 'games-arcade/tomatoes/files')
-rw-r--r-- | games-arcade/tomatoes/files/1.5-gcc34.patch | 20 |
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");
+
|