- Unbreak with darts 0.3
PR: ports/92288 Submitted by: UMENO Takashi <umeno@rr.iij4u.or.jp>
This commit is contained in:
parent
ef8893811e
commit
94521905ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154497
2 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue