# ChangeLog for app-dicts/wordnet
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/ChangeLog,v 1.5 2005/04/23 11:23:01 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/ChangeLog,v 1.6 2005/11/12 17:50:44 grobian Exp $
+
+ 12 Nov 2005; Fabian Groffen <grobian@gentoo.org>
+ +files/wordnet-2.0-macos.patch, wordnet-2.0.ebuild:
+ Added patch supplied by dirk {dot] schoenberger |at: freenet.de to compile on
+ OSX, marked ~ppc-macos
23 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> wordnet-2.0.ebuild:
added ~amd64 to KEYWORDS, fixes #90093
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 2e966310c397cd365610cfc6b8c2b01e wordnet-2.0.ebuild 925
-MD5 547ea0d4e8412cfb88940286834867f7 ChangeLog 829
+MD5 6773910be9415e12e50741b874e53746 wordnet-2.0.ebuild 973
+MD5 1d99fe4cfcc0daba6940b565c025f3d2 ChangeLog 1038
MD5 eb03775ece62e57725480e782cd84ee8 metadata.xml 162
+MD5 6c0a2d852702e5e23085ce1cbe80c665 files/wordnet-2.0-macos.patch 287
MD5 295bc3b2d65fc6db177d69c4e54491a5 files/Makefiles.diff 2633
MD5 660184f847c527e0e6a1024bb0c44318 files/digest-wordnet-2.0 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCajAt06ebR+OMO78RAm9nAJ4mu4Kur+nA2p+xwM+COnmRFgmkPgCggIK+
-nOhWwXs+Y+NmmtxZ26yetUw=
-=gw9d
------END PGP SIGNATURE-----
--- /dev/null
+--- WordNet-2.0/src/lib/wnutil.c.orig 2005-11-12 15:52:07.000000000 +0100
++++ WordNet-2.0/src/lib/wnutil.c 2005-11-12 15:52:51.000000000 +0100
+@@ -7,7 +7,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
+
+-#ifdef UNIX
++#if defined(UNIX) && !defined(__APPLE__)
+ #include <malloc.h>
+ #endif
+
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-2.0.ebuild,v 1.5 2005/04/23 11:23:01 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/wordnet/wordnet-2.0.ebuild,v 1.6 2005/11/12 17:50:44 grobian Exp $
inherit eutils
LICENSE="Princeton"
IUSE=""
SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
S=${WORKDIR}/WordNet-${PV}
src_unpack() {
unpack $A
epatch ${FILESDIR}/Makefiles.diff
+ epatch "${FILESDIR}/${P}"-macos.patch
}
src_compile() {