Bug 45699 - japanese/cannadic fix in -current.
Summary: japanese/cannadic fix in -current.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-25 05:50 UTC by TOGAWA Satoshi
Modified: 2002-11-25 20:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TOGAWA Satoshi 2002-11-25 05:50:00 UTC
In -current, japanese/cannadic causes cannaserver (at japanese/Canna) stoping.
This patch fix this.

Please commit this before 5.0-RELEASE.

Fix: 

-- 
toga@puyo.org--pYqQT1856U1laHgMxXLBu3KcRUZAXglkwVDHkTJx5itvKBue
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -urN cannadic.orig/Makefile cannadic/Makefile
--- cannadic.orig/Makefile	Mon Nov 25 14:13:40 2002
+++ cannadic/Makefile	Mon Nov 25 14:15:14 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	cannadic
 PORTVERSION=	0.94e
+PORTREVISION=	1
 CATEGORIES=	japanese
 MASTER_SITES=	http://cannadic.oucrc.org/
 
@@ -15,9 +16,9 @@
 RUN_DEPENDS=	${LOCALBASE}/sbin/cannaserver:${PORTSDIR}/japanese/Canna
 BUILD_DEPENDS=	crxdic:${PORTSDIR}/japanese/Canna
 
-ALL_TARGET=	maindic subdic
+ALL_TARGET=	maindic
 
-DICS=		gcanna.cbd gcanna.cld gcannaf.cbd gcannaf.cld
+DICS=		gcanna.cbd gcanna.cld gcannaf.t
 DICSFILE=	dics.dir.gpl_canna
 DICDIR=		${PREFIX}/lib/canna/dic/canna
 
diff -urN cannadic.orig/files/patch-ac cannadic/files/patch-ac
--- cannadic.orig/files/patch-ac	Mon Nov 25 14:13:40 2002
+++ cannadic/files/patch-ac	Mon Nov 25 14:16:16 2002
@@ -3,7 +3,6 @@
 ***************
 *** 0 ****
 --- 1,4 ----
-+ gcanna.cld(gcanna.mwd)     -gcanna---
-+ gcanna.cbd(gcanna.mwd)    -gcanna---
-+ gcannaf.cld(gcannaf.swd)   -gcannaf---
-+ gcannaf.cbd(gcannaf.swd)  -gcannaf---
++ gcanna.cld(gcanna.mwd)	-gcanna---
++ gcanna.cbd(gcanna.mwd)	-gcanna---
++ gcannaf.t(swd)		-gcannaf---
How-To-Repeat: 1) install japanese/cannadic.
2) cd /usr/local/lib/canna/dic/canna
3) mv dics.dir dics.dir.orig
4) cat dics.dir.orig dics.dir.gpl_canna > dics.dir
5) /usr/local/etc/rc.d/canna.sh start

cannaserver is up, but exits in few seconds.
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2002-11-25 20:04:24 UTC
State Changed
From-To: open->closed

Committed, Thanks!