From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 31 11:20:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD1F21065670 for ; Wed, 31 Aug 2011 11:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9030C8FC1E for ; Wed, 31 Aug 2011 11:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7VBK7Ub043442 for ; Wed, 31 Aug 2011 11:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7VBK7TO043441; Wed, 31 Aug 2011 11:20:07 GMT (envelope-from gnats) Resent-Date: Wed, 31 Aug 2011 11:20:07 GMT Resent-Message-Id: <201108311120.p7VBK7TO043441@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kaspars Bankovskis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B804C106564A for ; Wed, 31 Aug 2011 11:11:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8EEC38FC0A for ; Wed, 31 Aug 2011 11:11:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7VBBMTY029856 for ; Wed, 31 Aug 2011 11:11:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7VBBMT2029855; Wed, 31 Aug 2011 11:11:22 GMT (envelope-from nobody) Message-Id: <201108311111.p7VBBMT2029855@red.freebsd.org> Date: Wed, 31 Aug 2011 11:11:22 GMT From: Kaspars Bankovskis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160330: [patch] misc/libutf: few typos corrected X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 11:20:07 -0000 >Number: 160330 >Category: ports >Synopsis: [patch] misc/libutf: few typos corrected >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 31 11:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kaspars Bankovskis >Release: >Organization: >Environment: >Description: - added a patch for few typos in the manpage - maintainership update >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN libutf.bak/Makefile libutf/Makefile --- libutf.bak/Makefile 2011-08-31 13:41:45.000000000 +0300 +++ libutf/Makefile 2011-08-31 13:56:00.000000000 +0300 @@ -7,12 +7,12 @@ PORTNAME= libutf PORTVERSION= 2.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/ \ http://www.westley.demon.co.uk/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= kaspars@bankovskis.lv COMMENT= UTF-8 character set support library, including regular expressions GNU_CONFIGURE= YES diff -ruN libutf.bak/files/patch-utf.3 libutf/files/patch-utf.3 --- libutf.bak/files/patch-utf.3 1970-01-01 03:00:00.000000000 +0300 +++ libutf/files/patch-utf.3 2011-08-31 13:54:27.000000000 +0300 @@ -0,0 +1,28 @@ +--- utf.3.orig 1997-03-05 19:19:32.000000000 +0200 ++++ utf.3 2011-08-31 13:50:41.000000000 +0300 +@@ -59,14 +59,14 @@ + \fBUTF\fR string \fIcp\fR contain a complete \fBUTF\fR encoding. + .PP + \fButflen\fR returns the number of runes in a \fBUTF\fR string. +-\fButbytes\fR returns the number of bytes in a \fBUTF\fR string. ++\fButfbytes\fR returns the number of bytes in a \fBUTF\fR string. + \fButfrune\fR returns a pointer to the first occurrence of + a rune in a \fBUTF\fR string. + \fButfrrune\fR returns a pointer to the last. + \fButfutf\fR searches for the first occurrence of a \fBUTF\fR string + in another \fBUTF\fR string. + .PP +-\fButf_snprintf\fR is a prticularly dumb implementation of snprintf ++\fButf_snprintf\fR is a particularly dumb implementation of snprintf + for utf strings - it only interprets %%, %s and %d sequences in the + format string, and does no field width calculation on those. + .PP +@@ -84,7 +84,7 @@ + \fButfncpy\fR copies at most \fInbytes\fR bytes from source to destination, + terminating when a null Rune is found in the source. If the number of + bytes copied is less than \fInbytes\fR, then the destination string is +-paddedf with null (0) bytes. If it is equal to or greater than \fInbytes\fR, ++padded with null (0) bytes. If it is equal to or greater than \fInbytes\fR, + no zero bytes is added. + The \fIdst\fR argument is returned. + \fButfcat\fR appends the UTF string \fIappend\fR onto the UTF string \fIsrc\fR. >Release-Note: >Audit-Trail: >Unformatted: