Date: Sun, 3 Dec 2006 23:02:03 +0800 (CST) From: chinsan <chinsan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106262: [MAINTAINER] chinese/gcin: [SUMMARIZE CHANGES] Message-ID: <20061203150203.C48F211439@chinsan.twbbs.org> Resent-Message-ID: <200612031510.kB3FA1g6083752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106262 >Category: ports >Synopsis: [MAINTAINER] chinese/gcin: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Dec 03 15:10:00 GMT 2006 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Nov 12 00:43:51 CST 2006 >Description: - Apply the correct order of gcin2tab Submitted by: tzhuan Added file(s): - files/patch-gcin2tab.c Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- gcin-1.3.1_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/chinese/gcin/Makefile /usr/home/chinsan/project/gcin/Makefile --- /usr/ports/chinese/gcin/Makefile Sun Dec 3 22:57:37 2006 +++ /usr/home/chinsan/project/gcin/Makefile Sun Dec 3 22:59:21 2006 @@ -7,6 +7,7 @@ PORTNAME= gcin PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= chinese textproc gnome MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \ http://yilan.twbbs.org/chinsan/gcin/:main \ diff -ruN --exclude=CVS /usr/ports/chinese/gcin/files/patch-gcin2tab.c /usr/home/chinsan/project/gcin/files/patch-gcin2tab.c --- /usr/ports/chinese/gcin/files/patch-gcin2tab.c Thu Jan 1 08:00:00 1970 +++ /usr/home/chinsan/project/gcin/files/patch-gcin2tab.c Sun Dec 3 12:31:09 2006 @@ -0,0 +1,26 @@ +--- gcin2tab.c.orig Sun Dec 3 11:05:26 2006 ++++ gcin2tab.c Sun Dec 3 11:08:36 2006 +@@ -129,7 +129,10 @@ + int d; + if ((d = a->key - b->key)) return d; + +- return memcmp(a->ch ,b->ch, CH_SZ); ++ d = memcmp(a->ch ,b->ch, CH_SZ); ++ if (d) return d; ++ ++ return a->oseq - b->oseq; + } + + int qcmp2_64(const void *aa, const void *bb) +@@ -139,7 +142,10 @@ + if (a->key > b->key) return 1; + if (a->key < b->key) return -1; + +- return memcmp(a->ch ,b->ch, CH_SZ); ++ int d = memcmp(a->ch ,b->ch, CH_SZ); ++ if (d) return d; ++ ++ return a->oseq - b->oseq; + } + + int qcmp(const void *aa, const void *bb) --- gcin-1.3.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061203150203.C48F211439>