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 | 7ada41a59994623a594c5c2a27f56c3a0b179119 (patch) | |
tree | a959b183cc7bf2ee4de7e0edd321deb4689bdceb /media-gfx/tic98 | |
parent | Get rid of ABI crap since it's needed only in dev profiles, and with gcc-conf... (diff) | |
download | gentoo-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')
-rw-r--r-- | media-gfx/tic98/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/tic98/Manifest | 19 | ||||
-rw-r--r-- | media-gfx/tic98/files/tic98-1.01-macos.patch | 26 | ||||
-rw-r--r-- | media-gfx/tic98/tic98-1.01-r1.ebuild | 12 |
4 files changed, 45 insertions, 18 deletions
diff --git a/media-gfx/tic98/ChangeLog b/media-gfx/tic98/ChangeLog index 1d0ace7250f2..1754b287b235 100644 --- a/media-gfx/tic98/ChangeLog +++ b/media-gfx/tic98/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/tic98 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.3 2005/08/02 15:48:13 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/ChangeLog,v 1.4 2005/11/03 10:39:00 grobian Exp $ + + 03 Nov 2005; Fabian Groffen <grobian@gentoo.org> + +files/tic98-1.01-macos.patch, tic98-1.01-r1.ebuild: + Added compilation fix for OSX and marked ~ppc-macos (bug #110944) 02 Aug 2005; <sekretarz@gentoo.org> -files/tic98.diff, files/tic98-1.01-gentoo.diff, tic98-1.01-r1.ebuild: diff --git a/media-gfx/tic98/Manifest b/media-gfx/tic98/Manifest index 89a31cc9959f..0082c40de30f 100644 --- a/media-gfx/tic98/Manifest +++ b/media-gfx/tic98/Manifest @@ -1,17 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 806a541bda116deeda9fa34ee5aef99a tic98-1.01-r1.ebuild 777 +MD5 ea29b649c56723cdcb113d0c8cc8ba68 tic98-1.01.ebuild 882 MD5 f1b8ded8c1ce9cacc32aad24811f61da ChangeLog 908 -MD5 b2419a7092da155e7165fec26d606e07 files/digest-tic98-1.01 62 +MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 MD5 b2419a7092da155e7165fec26d606e07 files/digest-tic98-1.01-r1 62 +MD5 b2419a7092da155e7165fec26d606e07 files/digest-tic98-1.01 62 +MD5 b80a7cb3b7dc39abec555032dc752cc5 files/tic98-1.01-macos.patch 643 MD5 d20e8645219f4317f941051e02713f3b files/tic98-1.01-gentoo.diff 5452 -MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 -MD5 91082c83c7f92def599dce315d38bdf3 tic98-1.01-r1.ebuild 683 -MD5 ea29b649c56723cdcb113d0c8cc8ba68 tic98-1.01.ebuild 882 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC77ZII1lqEGTUzyQRAqCLAJ98v5S+M2Y7gDbPhB6LnWFGfUQjTgCffM23 -I+uhI4lI2R2pzkF1+9gK7Ok= -=J4Ap ------END PGP SIGNATURE----- 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" + diff --git a/media-gfx/tic98/tic98-1.01-r1.ebuild b/media-gfx/tic98/tic98-1.01-r1.ebuild index 6a2149dd2647..ebb019e0e0fb 100644 --- a/media-gfx/tic98/tic98-1.01-r1.ebuild +++ b/media-gfx/tic98/tic98-1.01-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r1.ebuild,v 1.4 2005/08/02 18:06:33 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tic98/tic98-1.01-r1.ebuild,v 1.5 2005/11/03 10:39:00 grobian Exp $ inherit eutils @@ -10,15 +10,21 @@ SRC_URI="http://www.cs.waikato.ac.nz/~singlis/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~ppc-macos x86" IUSE="" DEPEND="" S="${WORKDIR}/${PN}" +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}"-macos.patch + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.diff +} + src_compile() { - epatch ${FILESDIR}/${P}-gentoo.diff emake all || die emake all2 || die } |