From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 28 13:50:01 2008 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 891191065677 for ; Thu, 28 Feb 2008 13:50:01 +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 65B3E8FC1F for ; Thu, 28 Feb 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1SDo1VB040342 for ; Thu, 28 Feb 2008 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1SDo1lj040341; Thu, 28 Feb 2008 13:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 28 Feb 2008 13:50:01 GMT Resent-Message-Id: <200802281350.m1SDo1lj040341@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, Alex Kapranoff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2F171065670 for ; Thu, 28 Feb 2008 13:48:16 +0000 (UTC) (envelope-from kappa@rambler-co.ru) Received: from mailsupport.rambler.ru (mailsupport.rambler.ru [81.19.66.129]) by mx1.freebsd.org (Postfix) with ESMTP id 822C98FC34 for ; Thu, 28 Feb 2008 13:48:16 +0000 (UTC) (envelope-from kappa@rambler-co.ru) Received: by capella.park.rambler.ru (Postfix, from userid 1001) id 552FB42FB; Thu, 28 Feb 2008 16:35:28 +0300 (MSK) Message-Id: <20080228133528.552FB42FB@capella.park.rambler.ru> Date: Thu, 28 Feb 2008 16:35:28 +0300 (MSK) From: Alex Kapranoff To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/121172: [patch] Silence warning about UTF7 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: Thu, 28 Feb 2008 13:50:01 -0000 >Number: 121172 >Category: ports >Synopsis: [patch] Silence warning about UTF7 >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 28 13:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex Kapranoff >Release: FreeBSD 5.2-CURRENT i386 >Organization: Rambler >Environment: FreeBSD capella.park.rambler.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Mar 17 16:20:26 MSK 2006 root@capella.park.rambler.ru:/usr/obj/usr/src/sys/CAPELLA2 i386 >Description: Using UTF7 emits warning about mismatched prototypes. >How-To-Repeat: >Fix: This is already patched in perl 5.10, but 5.8 will still be in production for several years. diff -ruN /usr/ports/lang/perl5.8/files/patch-UTF7.pm ./files/patch-UTF7.pm --- /usr/ports/lang/perl5.8/files/patch-UTF7.pm Thu Jan 1 03:00:00 1970 +++ ./files/patch-UTF7.pm Thu Feb 28 16:30:50 2008 @@ -0,0 +1,11 @@ +--- ext/Encode/lib/Encode/Unicode/UTF7.pm.orig Thu Feb 28 16:24:31 2008 ++++ ext/Encode/lib/Encode/Unicode/UTF7.pm Thu Feb 28 16:24:46 2008 +@@ -51,7 +51,7 @@ + return $bytes; + } + +-sub decode{ ++sub decode($$;$){ + my ($obj, $bytes, $chk) = @_; + my $len = length($bytes); + my $str = ""; >Release-Note: >Audit-Trail: >Unformatted: