diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-07-19 12:46:54 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-07-19 12:46:54 +0000 |
commit | 46b5a9ec91646e25be7fbebeac0d32f4aadfcf8b (patch) | |
tree | dea1c81ad8367e4e42a397d2b6c1d5a7023aa8ec /dev-tcltk/blt | |
parent | add patch to fix sound events issue (Manifest recommit) (diff) | |
download | gentoo-2-46b5a9ec91646e25be7fbebeac0d32f4aadfcf8b.tar.gz gentoo-2-46b5a9ec91646e25be7fbebeac0d32f4aadfcf8b.tar.bz2 gentoo-2-46b5a9ec91646e25be7fbebeac0d32f4aadfcf8b.zip |
Closing #50994
Diffstat (limited to 'dev-tcltk/blt')
-rw-r--r-- | dev-tcltk/blt/ChangeLog | 5 | ||||
-rw-r--r-- | dev-tcltk/blt/blt-2.4z.ebuild | 9 | ||||
-rw-r--r-- | dev-tcltk/blt/files/blt2.4z-64bit.patch | 24 |
3 files changed, 35 insertions, 3 deletions
diff --git a/dev-tcltk/blt/ChangeLog b/dev-tcltk/blt/ChangeLog index ff8576bffe13..5142e027c689 100644 --- a/dev-tcltk/blt/ChangeLog +++ b/dev-tcltk/blt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-tcltk/blt # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.11 2004/06/25 02:06:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.12 2004/07/19 12:46:54 aliz Exp $ + + 19 Jul 2004; Daniel Ahlberg <aliz@gentoo.org> blt-2.4z.ebuild: + Added amd64 keyword and patch from mandrake. Closing #50994. 05 Jun 2004; David Holm <dholm@gentoo.org> blt-2.4z.ebuild: Added to ~ppc. diff --git a/dev-tcltk/blt/blt-2.4z.ebuild b/dev-tcltk/blt/blt-2.4z.ebuild index 556a0dae5205..69b1a096cc4e 100644 --- a/dev-tcltk/blt/blt-2.4z.ebuild +++ b/dev-tcltk/blt/blt-2.4z.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z.ebuild,v 1.12 2004/06/25 02:06:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z.ebuild,v 1.13 2004/07/19 12:46:54 aliz Exp $ inherit eutils @@ -11,13 +11,18 @@ DEPEND=">=dev-lang/tk-8.0" IUSE="" SLOT="0" LICENSE="BSD" -KEYWORDS="x86 sparc ~ppc" +KEYWORDS="x86 sparc ~ppc ~amd64" S="${WORKDIR}/${PN}${PV}" src_unpack() { unpack ${A} epatch ${FILESDIR}/blt2.4z-install.diff + + if [ "${ARCH}" = "amd64" -o "${ARCH}" = "ia64" ] ; then + # From blt-2.4z-6mdk.src.rpm + epatch ${FILESDIR}/blt2.4z-64bit.patch + fi } src_compile() { diff --git a/dev-tcltk/blt/files/blt2.4z-64bit.patch b/dev-tcltk/blt/files/blt2.4z-64bit.patch new file mode 100644 index 000000000000..9f1c3c975eef --- /dev/null +++ b/dev-tcltk/blt/files/blt2.4z-64bit.patch @@ -0,0 +1,24 @@ +--- blt2.4z/src/bltTree.c.64bit-fixes 2002-09-29 07:44:12.000000000 +0200 ++++ blt2.4z/src/bltTree.c 2003-07-31 12:22:53.000000000 +0200 +@@ -95,17 +95,16 @@ static Value *TreeNextValue _ANSI_ARGS_( + */ + + #define REBUILD_MULTIPLIER 3 ++#define START_LOGSIZE 5 /* Initial hash table size is 32. */ ++#define MAX_LIST_VALUES 20 /* Convert to hash table when node ++ * value list gets bigger than this ++ * many values. */ + + #if (SIZEOF_VOID_P == 8) + #define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) + #define BITSPERWORD 64 + #else + +-#define START_LOGSIZE 5 /* Initial hash table size is 32. */ +-#define MAX_LIST_VALUES 20 /* Convert to hash table when node +- * value list gets bigger than this +- * many values. */ +- + /* + * The following macro takes a preliminary integer hash value and + * produces an index into a hash tables bucket list. The idea is |