summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-11-03 10:39:00 +0000
committerFabian Groffen <grobian@gentoo.org>2005-11-03 10:39:00 +0000
commit7ada41a59994623a594c5c2a27f56c3a0b179119 (patch)
treea959b183cc7bf2ee4de7e0edd321deb4689bdceb /media-gfx/tic98/files
parentGet rid of ABI crap since it's needed only in dev profiles, and with gcc-conf... (diff)
downloadgentoo-2-7ada41a59994623a594c5c2a27f56c3a0b179119.tar.gz
gentoo-2-7ada41a59994623a594c5c2a27f56c3a0b179119.tar.bz2
gentoo-2-7ada41a59994623a594c5c2a27f56c3a0b179119.zip
Added compilation fix for OSX and marked ~ppc-macos (bug #110944)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-gfx/tic98/files')
-rw-r--r--media-gfx/tic98/files/tic98-1.01-macos.patch26
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"
+