summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-11-12 17:50:44 +0000
committerFabian Groffen <grobian@gentoo.org>2005-11-12 17:50:44 +0000
commit6f71abad3c6b4b8c0a1f202dcf8837c685724cd4 (patch)
tree559c45c2d442b9712abdd1391685dd508835ead0 /app-dicts/wordnet
parentFix segfault on amd64 by adding a patch from AJ Frantz <ajfrantz@umich.edu>. ... (diff)
downloadhistorical-6f71abad3c6b4b8c0a1f202dcf8837c685724cd4.tar.gz
historical-6f71abad3c6b4b8c0a1f202dcf8837c685724cd4.tar.bz2
historical-6f71abad3c6b4b8c0a1f202dcf8837c685724cd4.zip
Added patch supplied by dirk {dot] schoenberger |at: freenet.de to compile on OSX, marked ~ppc-macos
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'app-dicts/wordnet')
-rw-r--r--app-dicts/wordnet/ChangeLog7
-rw-r--r--app-dicts/wordnet/Manifest15
-rw-r--r--app-dicts/wordnet/files/wordnet-2.0-macos.patch11
-rw-r--r--app-dicts/wordnet/wordnet-2.0.ebuild5
4 files changed, 23 insertions, 15 deletions
diff --git a/app-dicts/wordnet/ChangeLog b/app-dicts/wordnet/ChangeLog
index e40ceea67c88..f5f9c292bccb 100644
--- a/app-dicts/wordnet/ChangeLog
+++ b/app-dicts/wordnet/ChangeLog
@@ -1,6 +1,11 @@
# 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
diff --git a/app-dicts/wordnet/Manifest b/app-dicts/wordnet/Manifest
index 0d397eabae2b..fadb4ba8404a 100644
--- a/app-dicts/wordnet/Manifest
+++ b/app-dicts/wordnet/Manifest
@@ -1,15 +1,6 @@
------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-----
diff --git a/app-dicts/wordnet/files/wordnet-2.0-macos.patch b/app-dicts/wordnet/files/wordnet-2.0-macos.patch
new file mode 100644
index 000000000000..555312d091bf
--- /dev/null
+++ b/app-dicts/wordnet/files/wordnet-2.0-macos.patch
@@ -0,0 +1,11 @@
+--- 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
+
diff --git a/app-dicts/wordnet/wordnet-2.0.ebuild b/app-dicts/wordnet/wordnet-2.0.ebuild
index 67f5004ad5a4..22b6588a0961 100644
--- a/app-dicts/wordnet/wordnet-2.0.ebuild
+++ b/app-dicts/wordnet/wordnet-2.0.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/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
@@ -12,12 +12,13 @@ DEPEND="dev-lang/tcl
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() {