ports/92288: Repair Ports: japanese/chasen-base

UMENO Takashi umeno at rr.iij4u.or.jp
Wed Jan 25 01:30:13 UTC 2006


>Number:         92288
>Category:       ports
>Synopsis:       Repair Ports: japanese/chasen-base
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 25 01:30:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
individual
>Environment:
System: FreeBSD belldandy.unnumbered.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Jan 24 23:56:10 JST 2006 root at belldandy.unnumbered.net:/usr/src/sys/i386/compile/MISUZU1 i386


	
>Description:
Repair Ports: japanese/chasen-base

Method name of Double Array class is changed from setArray to set_array 
when devel/darts update to 0.3.

Please see http://www.chasen.org/~taku/software/darts/

>How-To-Repeat:
N/A
>Fix:

diff -urN chasen-base.orig/Makefile chasen-base/Makefile
--- chasen-base.orig/Makefile	Wed Jan 25 09:15:05 2006
+++ chasen-base/Makefile	Wed Jan 25 09:24:01 2006
@@ -22,8 +22,6 @@
 
 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 -urN chasen-base.orig/files/patch-dartsdic.cpp chasen-base/files/patch-dartsdic.cpp
--- chasen-base.orig/files/patch-dartsdic.cpp	Sat Aug 14 19:13:15 2004
+++ chasen-base/files/patch-dartsdic.cpp	Wed Jan 25 09:31:01 2006
@@ -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);
  	}



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list