From owner-freebsd-ports Sat Aug 10 22:30:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A1F637B400 for ; Sat, 10 Aug 2002 22:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F97343E70 for ; Sat, 10 Aug 2002 22:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7B5U2JU002181 for ; Sat, 10 Aug 2002 22:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7B5U24h002180; Sat, 10 Aug 2002 22:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D6037B400 for ; Sat, 10 Aug 2002 22:20:47 -0700 (PDT) Received: from kcwu.dyndns.org (u142-187.u61-70.giga.net.tw [61.70.142.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id E061943E4A for ; Sat, 10 Aug 2002 22:20:43 -0700 (PDT) (envelope-from kcwu@kcwu.dyndns.org) Received: (from kcwu@localhost) by kcwu.dyndns.org (8.11.6/8.11.5) id g7B5Kfo49596; Sun, 11 Aug 2002 13:20:41 +0800 (CST) (envelope-from kcwu) Message-Id: <200208110520.g7B5Kfo49596@kcwu.dyndns.org> Date: Sun, 11 Aug 2002 13:20:41 +0800 (CST) From: Kuang-che Wu Reply-To: Kuang-che Wu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41535: chinese/xcin2.5: it may build fail on some env Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41535 >Category: ports >Synopsis: chinese/xcin2.5: it may build fail on some env >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 10 22:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Kuang-che Wu >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD m722 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sat Apr 6 14:30:47 CST 2002 root@m722:/usr/obj/usr/src/sys/M722 i386 >Description: One function of chewing/sort_word.c omitted its return value. This may cause build fail on some environment/compiler. >How-To-Repeat: >Fix: diff -urN xcin25.orig/Makefile xcin25/Makefile --- xcin25.orig/Makefile Fri Aug 2 00:22:04 2002 +++ xcin25/Makefile Sun Aug 11 13:09:50 2002 @@ -58,8 +58,10 @@ @${ECHO} -- .endif +post-extract: + ${MV} ${WRKDIR}/chewing ${WRKSRC}/src/Cinput + post-patch: - @mv ${WRKDIR}/chewing ${WRKSRC}/src/Cinput @cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing post-install: diff -urN xcin25.orig/files/patch-chewing::sort_word.c xcin25/files/patch-chewing::sort_word.c --- xcin25.orig/files/patch-chewing::sort_word.c Thu Jan 1 08:00:00 1970 +++ xcin25/files/patch-chewing::sort_word.c Sun Aug 11 12:35:11 2002 @@ -0,0 +1,10 @@ +--- src/Cinput/chewing/sort_word.c.orig Sun Aug 11 12:32:03 2002 ++++ src/Cinput/chewing/sort_word.c Sun Aug 11 12:32:20 2002 +@@ -40,6 +40,7 @@ + Key2Pho(phoneBuf, keyBuf, KB_DEFAULT, 1) ; + word_data[nWord].num = PhoneBg2Uint(phoneBuf) ; + nWord++ ; ++ return 0; + } + + void Output() >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message