aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/chasen-base/Makefile2
-rw-r--r--japanese/chasen-base/files/patch-dartsdic.cpp13
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);
}