From owner-freebsd-ports Sun Sep 24 10:50: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55ABF37B43C for ; Sun, 24 Sep 2000 10:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA95369; Sun, 24 Sep 2000 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from alpha.dante.org.uk (alpha.dante.org.uk [193.63.211.19]) by hub.freebsd.org (Postfix) with ESMTP id 8BFFB37B422 for ; Sun, 24 Sep 2000 10:40:03 -0700 (PDT) Received: from joy by alpha.dante.org.uk with local (Exim 3.12 #4) id 13dFkv-0000rd-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 24 Sep 2000 18:40:01 +0100 Message-Id: Date: Sun, 24 Sep 2000 18:40:01 +0100 From: Konstantin.Chuguev@dante.org.uk Reply-To: Konstantin.Chuguev@dante.org.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21521: Update port: converters/iconv Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21521 >Category: ports >Synopsis: Update port: converters/iconv >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 Sep 24 10:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Konstantin Chuguev >Release: FreeBSD 5.0-CURRENT i386 >Organization: DANTE >Environment: >Description: POSIX-compliant charset conversion library. This is a bug-fix version: 1.1. Fixed problems: - all the modules are linked against libiconv. iconv() now can be called from other shared libraries (it could only be called from executables in iconv-1.0); - case insensitive recognition of charset names. There was a bug in 1.0: the first letter of a charset name was case sensitive; - modified behaviour of iconv() used with (inbytesleft == NULL) or (*inbytesleft = 0): now iconv silently returns 0; in 1.0 it returned (size_t)(-1) and set errno=EINVAL. According to POSIX specification both ways are correct; the new behaviour is just less restrictive. Thanks to Akinori -Aki- MUSHA for pointing to the problems. >How-To-Repeat: >Fix: diff -ruN iconv.orig/Makefile iconv/Makefile --- iconv.orig/Makefile Tue Sep 12 11:06:46 2000 +++ iconv/Makefile Sun Sep 24 17:20:13 2000 @@ -2,11 +2,11 @@ # Date created: 21 September 1999 # Whom: Konstantin Chuguev # -# $FreeBSD: ports/converters/iconv/Makefile,v 1.5 2000/09/12 10:06:46 sobomax Exp $ +# $FreeBSD$ # PORTNAME= iconv -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= converters MASTER_SITES= http://www.dante.net/staff/konstantin/FreeBSD/iconv/ diff -ruN iconv.orig/files/md5 iconv/files/md5 --- iconv.orig/files/md5 Tue Sep 12 11:06:47 2000 +++ iconv/files/md5 Sun Sep 24 17:21:02 2000 @@ -1 +1 @@ -MD5 (iconv-1.0.tar.gz) = 44da89d0e096cfa28caf249d7deb4dfc +MD5 (iconv-1.1.tar.gz) = 0d942f816cccc881cb6f34e093f6a02c >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message