From 94521905eef4547c296dde96afa8dd254cbd14bf Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 26 Jan 2006 09:43:48 +0000 Subject: [PATCH] - Unbreak with darts 0.3 PR: ports/92288 Submitted by: UMENO Takashi --- japanese/chasen-base/Makefile | 2 -- japanese/chasen-base/files/patch-dartsdic.cpp | 13 +++++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile index 13a8538eaa3a..a63074efdda6 100644 --- a/japanese/chasen-base/Makefile +++ b/japanese/chasen-base/Makefile @@ -22,8 +22,6 @@ COMMENT= Japanese Morphological Analysis System BUILD_DEPENDS= ${LOCALBASE}/include/darts.h:${PORTSDIR}/devel/darts -BROKEN= Does not build - GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include --with-libiconv=${LOCALBASE} USE_ICONV= yes diff --git a/japanese/chasen-base/files/patch-dartsdic.cpp b/japanese/chasen-base/files/patch-dartsdic.cpp index dbf46d24bf57..bf1a751d77b2 100644 --- a/japanese/chasen-base/files/patch-dartsdic.cpp +++ b/japanese/chasen-base/files/patch-dartsdic.cpp @@ -1,5 +1,14 @@ ---- lib/dartsdic.cpp.orig Sat Aug 14 12:10:21 2004 -+++ lib/dartsdic.cpp Sat Aug 14 12:10:26 2004 +--- lib/dartsdic.cpp.orig Thu Jul 31 01:06:57 2003 ++++ lib/dartsdic.cpp Wed Jan 25 09:30:23 2006 +@@ -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); @@ -177,7 +177,7 @@ lex_indices.push_back(i->second); }