diff options
author | Fabian Groffen <grobian@gentoo.org> | 2005-11-03 10:39:00 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2005-11-03 10:39:00 +0000 |
commit | 8bd3922f3d67c6825b97b8ed47e13b622ca3cc43 (patch) | |
tree | 98d50844b23a6cfa63d4154e9652d0d29f5ce866 /media-gfx/tic98/files | |
parent | Get rid of ABI crap since it's needed only in dev profiles, and with gcc-conf... (diff) | |
download | historical-8bd3922f3d67c6825b97b8ed47e13b622ca3cc43.tar.gz historical-8bd3922f3d67c6825b97b8ed47e13b622ca3cc43.tar.bz2 historical-8bd3922f3d67c6825b97b8ed47e13b622ca3cc43.zip |
Added compilation fix for OSX and marked ~ppc-macos (bug #110944)
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'media-gfx/tic98/files')
-rw-r--r-- | media-gfx/tic98/files/tic98-1.01-macos.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/tic98/files/tic98-1.01-macos.patch b/media-gfx/tic98/files/tic98-1.01-macos.patch new file mode 100644 index 000000000000..607e76f9416a --- /dev/null +++ b/media-gfx/tic98/files/tic98-1.01-macos.patch @@ -0,0 +1,26 @@ +--- tic98/ppmd_hash.c.orig 2005-11-03 11:09:22.000000000 +0100 ++++ tic98/ppmd_hash.c 2005-11-03 11:09:49.000000000 +0100 +@@ -2,7 +2,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <assert.h> ++#ifndef __APPLE__ + #include <malloc.h> ++#endif + #include "ppmd_hash.h" + + #define HASH_NULL 0 +--- tic98/ppmd_model.c.orig 2005-11-03 11:07:09.000000000 +0100 ++++ tic98/ppmd_model.c 2005-11-03 11:09:04.000000000 +0100 +@@ -1,7 +1,11 @@ + /* PPM* model for arithmetic encoder. */ + #include <stdio.h> + #include <assert.h> ++#ifndef __APPLE__ + #include <malloc.h> ++#else ++#include <stdlib.h> ++#endif + #include "arithcode.h" + #include "ppmd_hash.h" + |