summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-06-26 19:45:59 +0000
committerMamoru Komachi <usata@gentoo.org>2006-06-26 19:45:59 +0000
commitb0f538b14d13f14f30fab757f5c5eff14bddb1a5 (patch)
tree2dcdda54f1cec4345bfed3f206c4066d05173446 /app-text/chasen
parentStable on ppc64; bug #138011 (diff)
downloadhistorical-b0f538b14d13f14f30fab757f5c5eff14bddb1a5.tar.gz
historical-b0f538b14d13f14f30fab757f5c5eff14bddb1a5.tar.bz2
historical-b0f538b14d13f14f30fab757f5c5eff14bddb1a5.zip
Fixed compilation with the latest darts.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'app-text/chasen')
-rw-r--r--app-text/chasen/ChangeLog8
-rw-r--r--app-text/chasen/chasen-2.3.3-r3.ebuild7
-rw-r--r--app-text/chasen/files/chasen-2.3.3-darts-0.3.patch12
-rw-r--r--app-text/chasen/files/digest-chasen-2.3.3-r32
-rw-r--r--app-text/chasen/files/digest-chasen-2.4.0_pre12
-rw-r--r--app-text/chasen/files/digest-chasen-2.4.0_pre1-r12
6 files changed, 29 insertions, 4 deletions
diff --git a/app-text/chasen/ChangeLog b/app-text/chasen/ChangeLog
index 443d336add0c..515807f59ec8 100644
--- a/app-text/chasen/ChangeLog
+++ b/app-text/chasen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/chasen
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/chasen/ChangeLog,v 1.22 2005/12/18 16:00:43 usata Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/chasen/ChangeLog,v 1.23 2006/06/26 19:45:59 usata Exp $
+
+ 26 Jun 2006; Mamoru KOMACHI <usata@gentoo.org>
+ +files/chasen-2.3.3-darts-0.3.patch, chasen-2.3.3-r3.ebuild:
+ Fixed compilation with the latest darts.
18 Dec 2005; Mamoru KOMACHI <usata@gentoo.org> chasen-2.3.3-r3.ebuild,
chasen-2.4.0_pre1-r1.ebuild:
diff --git a/app-text/chasen/chasen-2.3.3-r3.ebuild b/app-text/chasen/chasen-2.3.3-r3.ebuild
index 12b6955dadfc..04134f5d3ba5 100644
--- a/app-text/chasen/chasen-2.3.3-r3.ebuild
+++ b/app-text/chasen/chasen-2.3.3-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/chasen/chasen-2.3.3-r3.ebuild,v 1.8 2005/12/18 16:00:43 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/chasen/chasen-2.3.3-r3.ebuild,v 1.9 2006/06/26 19:45:59 usata Exp $
inherit perl-app eutils
@@ -27,6 +27,9 @@ src_unpack() {
fi
cd ${S}
epatch ${FILESDIR}/chasen-2.4.0_pre1-gcc34.patch
+ if has_version '>=dev-libs/darts-0.3' ; then
+ epatch "${FILESDIR}"/${P}-darts-0.3.patch
+ fi
}
src_compile() {
diff --git a/app-text/chasen/files/chasen-2.3.3-darts-0.3.patch b/app-text/chasen/files/chasen-2.3.3-darts-0.3.patch
new file mode 100644
index 000000000000..2dcaf4566baf
--- /dev/null
+++ b/app-text/chasen/files/chasen-2.3.3-darts-0.3.patch
@@ -0,0 +1,12 @@
+diff -urN chasen-2.3.3/lib/dartsdic.cpp chasen-2.3.3-darts-0.3/lib/dartsdic.cpp
+--- chasen-2.3.3/lib/dartsdic.cpp 2003-07-31 01:06:57.000000000 +0900
++++ chasen-2.3.3-darts-0.3/lib/dartsdic.cpp 2006-06-27 04:28:27.000000000 +0900
+@@ -68,7 +68,7 @@
+
+ da = (darts_t*)cha_malloc(sizeof(darts_t));
+ da->da_mmap = cha_mmap_file(daname);
+- darts->setArray(cha_mmap_map(da->da_mmap));
++ darts->set_array(cha_mmap_map(da->da_mmap));
+ da->da = darts;
+ da->lex_mmap = cha_mmap_file(lexname);
+ da->dat_mmap = cha_mmap_file(datname);
diff --git a/app-text/chasen/files/digest-chasen-2.3.3-r3 b/app-text/chasen/files/digest-chasen-2.3.3-r3
index 2980c21c5882..b977d5d6d284 100644
--- a/app-text/chasen/files/digest-chasen-2.3.3-r3
+++ b/app-text/chasen/files/digest-chasen-2.3.3-r3
@@ -1 +1,3 @@
MD5 629e90d9490bac95606c38c2d344cc5f chasen-2.3.3.tar.gz 425981
+RMD160 2f2416f82fb0341023314a4672e442fed86207a9 chasen-2.3.3.tar.gz 425981
+SHA256 a91b422398f30c9c6c2d27fdbcc1aeb8e026ded44d6e729fc060d5d18bfaefdb chasen-2.3.3.tar.gz 425981
diff --git a/app-text/chasen/files/digest-chasen-2.4.0_pre1 b/app-text/chasen/files/digest-chasen-2.4.0_pre1
index 6365002dce63..9d95ca92c1c0 100644
--- a/app-text/chasen/files/digest-chasen-2.4.0_pre1
+++ b/app-text/chasen/files/digest-chasen-2.4.0_pre1
@@ -1 +1,3 @@
MD5 a897799b81254eb31220589015386e38 chasen-2.4.0-preview1.tar.gz 372855
+RMD160 cfc14ccad1a12c687893a3f978feb2ff47132f24 chasen-2.4.0-preview1.tar.gz 372855
+SHA256 fb780fbbd5897ac01ddc80f31fd9e918cec5593643c7888947a1355d7a2a6db7 chasen-2.4.0-preview1.tar.gz 372855
diff --git a/app-text/chasen/files/digest-chasen-2.4.0_pre1-r1 b/app-text/chasen/files/digest-chasen-2.4.0_pre1-r1
index 6365002dce63..9d95ca92c1c0 100644
--- a/app-text/chasen/files/digest-chasen-2.4.0_pre1-r1
+++ b/app-text/chasen/files/digest-chasen-2.4.0_pre1-r1
@@ -1 +1,3 @@
MD5 a897799b81254eb31220589015386e38 chasen-2.4.0-preview1.tar.gz 372855
+RMD160 cfc14ccad1a12c687893a3f978feb2ff47132f24 chasen-2.4.0-preview1.tar.gz 372855
+SHA256 fb780fbbd5897ac01ddc80f31fd9e918cec5593643c7888947a1355d7a2a6db7 chasen-2.4.0-preview1.tar.gz 372855