Date: Mon, 16 Oct 2000 13:37:12 +0800 (CST) From: keith@freebsd.sinica.edu.tw To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22017: Update chinese/libtabe (MAINTAINER) Message-ID: <200010160537.NAA35070@freebsd.sinica.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 22017 >Category: ports >Synopsis: Update chinese/libtabe (MAINTAINER) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 15 22:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jing-Tang Keith Jang >Release: FreeBSD 4.0-20000406-STABLE i386 >Organization: >Environment: 4.x-stable >Description: Update chinese/libtabe to the latest official 0.1.8 release. >How-To-Repeat: Please commit the following patch, thanks. >Fix: --- Makefile.orig Mon Oct 16 11:46:32 2000 +++ Makefile Mon Oct 16 11:47:51 2000 @@ -6,7 +6,7 @@ # PORTNAME= libtabe -PORTVERSION= 0.1.7 +PORTVERSION= 0.1.8 CATEGORIES= chinese MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/ @@ -37,7 +37,7 @@ ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe .endfor .endif - ${TOUCH} ${PREFIX}/share/tabe/libtabe-0.1.7 + ${TOUCH} ${PREFIX}/share/tabe/libtabe-0.1.8 .if ${PORTOBJFORMAT} == "elf" ${RM} -f ${PREFIX}/lib/libbims.so ${PREFIX}/lib/libbims.so.0 ${MV} ${PREFIX}/lib/libbims.so.0.1 ${PREFIX}/lib/libbims.so.0 --- distinfo.orig Mon Oct 16 11:46:34 2000 +++ distinfo Mon Oct 16 11:47:57 2000 @@ -1 +1 @@ -MD5 (libtabe-0.1.7.tar.gz) = 050af767b2d7cf6707bee983286868b8 +MD5 (libtabe-0.1.8.tar.gz) = f283c6e8bd1f6d9caa34549c9afb23d7 --- pkg-plist.orig Mon Oct 16 12:18:40 2000 +++ pkg-plist Mon Oct 16 12:18:46 2000 @@ -19,7 +19,7 @@ share/doc/tabe/ZuYinCode.txt share/doc/tabe/et26.txt share/doc/tabe/libtabe.sgml -share/tabe/libtabe-0.1.7 +share/tabe/libtabe-0.1.8 share/tabe/tsiyin/tsi.db share/tabe/tsiyin/yin.db @dirrm include/tabe --- files/patch-aa.orig Mon Oct 16 11:49:58 2000 +++ files/patch-aa Mon Oct 16 11:50:07 2000 @@ -4,7 +4,7 @@ bindir = @bindir@ includedir = @includedir@ --version = 0.1.7 +-version = 0.1.8 -major_ver = 0.1 +version = 0.1 +major_ver = 0 --- files/patch-ab.orig Mon Oct 16 11:50:01 2000 +++ files/patch-ab Mon Oct 16 11:50:11 2000 @@ -4,7 +4,7 @@ ld_sharelib = @ld_sharelib@ slib_ext = @slib_ext@ --version = 0.1.7 +-version = 0.1.8 -major_ver = 0.1 +version = 0.1 +major_ver = 0 --- files/patch-ac.orig Mon Oct 16 11:51:59 2000 +++ files/patch-ac Mon Oct 16 13:21:43 2000 @@ -1,74 +0,0 @@ ---- src/tabe_tsidbint.c.orig Fri Oct 6 20:43:20 2000 -+++ src/tabe_tsidbint.c Fri Oct 13 00:00:46 2000 -@@ -420,8 +420,8 @@ - } - - /* we depends on the caller to allocate enough large buffer */ -- strcpy((char *)tsi->tsi, key.data); -- tsi->tsi[key.size] = (unsigned char)NULL; -+ *((char *)tsi->tsi) = '\0'; -+ strncat((char *)tsi->tsi, (char *)key.data, key.size); - TsiDBUnpackDataDB(tsi, &dat); - - return(0); -@@ -454,8 +454,8 @@ - } - - /* we depends on the caller to allocate buffer large enough */ -- strcpy((char *)tsi->tsi, key.data); -- tsi->tsi[key.size] = (unsigned char)NULL; -+ *((char *)tsi->tsi) = '\0'; -+ strncat((char *)tsi->tsi, (char *)key.data, key.size); - - TsiDBUnpackDataDB(tsi, &dat); - -@@ -489,8 +489,8 @@ - } - - /* we depends on the caller to allocate enough large buffer */ -- strcpy((char *)tsi->tsi, key.data); -- tsi->tsi[key.size] = (unsigned char)NULL; -+ *((char *)tsi->tsi) = '\0'; -+ strncat((char *)tsi->tsi, (char *)key.data, key.size); - - TsiDBUnpackDataDB(tsi, &dat); - ---- src/util/tsidel.c.orig Thu Oct 5 22:58:28 2000 -+++ src/util/tsidel.c Thu Oct 12 23:04:25 2000 -@@ -47,6 +47,7 @@ - memset(tsi->tsi, 0, 80); - tsi->refcount = -1; - tsi->yinnum = -1; -+ tsi->yindata = (Yin *)NULL; - - i = j = 0; - while (1) { ---- src/util/tsidump.c.orig Thu Oct 5 22:58:46 2000 -+++ src/util/tsidump.c Mon Oct 9 14:53:22 2000 -@@ -22,7 +22,7 @@ - { - printf("Usage: tsidump -d <TsiDB> [-f output file -ry]\n"); - printf(" -d <TsiDB> \t path to TsiDB\n"); -- printf(" -f <input file>\t input file in plain text (default: stdin)\n"); -+ printf(" -f <output file>\t output file in plain text (default: stdout)\n"); - printf(" -r \t include reference count (default: not)\n"); - printf(" -y \t include yin data (default: not)\n"); - exit(0); -@@ -45,6 +45,7 @@ - memset(tsi->tsi, 0, 80); - tsi->refcount = -1; - tsi->yinnum = -1; -+ tsi->yindata = (Yin *)NULL; - - i = 0; - while (1) { ---- src/util/tsiyindump.c.orig Thu Oct 5 22:59:05 2000 -+++ src/util/tsiyindump.c Thu Oct 12 23:06:24 2000 -@@ -44,6 +44,7 @@ - memset(tsi->tsi, 0, 80); - tsi->refcount = -1; - tsi->yinnum = -1; -+ tsi->yindata = (Yin *)NULL; - - tsiyin = (struct TsiYinInfo *)malloc(sizeof(struct TsiYinInfo)); - memset(tsiyin, 0, sizeof(struct TsiYinInfo)); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010160537.NAA35070>