diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-15 10:25:56 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-15 11:11:09 +0200 |
commit | 6dc125c2ae1f5c17673d877c740b6818386ecc4e (patch) | |
tree | a38eb14af1997fc8128a782aca1cb31a8a3955a9 /games-arcade/abe/files/abe-1.1-format.patch | |
parent | profiles: Cleanup calligra features (diff) | |
download | gentoo-6dc125c2ae1f5c17673d877c740b6818386ecc4e.tar.gz gentoo-6dc125c2ae1f5c17673d877c740b6818386ecc4e.tar.bz2 gentoo-6dc125c2ae1f5c17673d877c740b6818386ecc4e.zip |
games-arcade/abe: Apply Fedora fixes and drop games.eclass usage
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-arcade/abe/files/abe-1.1-format.patch')
-rw-r--r-- | games-arcade/abe/files/abe-1.1-format.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-arcade/abe/files/abe-1.1-format.patch b/games-arcade/abe/files/abe-1.1-format.patch new file mode 100644 index 000000000000..529534745712 --- /dev/null +++ b/games-arcade/abe/files/abe-1.1-format.patch @@ -0,0 +1,11 @@ +--- a/src/MapIO.c.orig 2005-03-05 09:20:04.000000000 -0700 ++++ b/src/MapIO.c 2011-03-14 10:15:33.166949366 -0600 +@@ -93,7 +93,7 @@ + // compression step 1: read compressed data from disk + // FIXME: what would be nicer is to only allocate as much mem as used on disk. + size = LEVEL_COUNT * map.w * map.h; +- printf("size %u\n", size); ++ printf("size %zu\n", size); + fflush(stdout); + if(!(read_buff = (Uint16 *) malloc(sizeof(Uint16) * size))) { + fprintf(stderr, "Out of memory on map read."); |