From owner-svn-ports-all@freebsd.org Thu Nov 24 09:57:16 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8614C513C9; Thu, 24 Nov 2016 09:57:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DAA2E6A; Thu, 24 Nov 2016 09:57:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAO9vFCr060826; Thu, 24 Nov 2016 09:57:15 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAO9vFS8060822; Thu, 24 Nov 2016 09:57:15 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201611240957.uAO9vFS8060822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 24 Nov 2016 09:57:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426998 - in head/misc/p5-I18N-LangTags: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 09:57:16 -0000 Author: amdmi3 Date: Thu Nov 24 09:57:15 2016 New Revision: 426998 URL: https://svnweb.freebsd.org/changeset/ports/426998 Log: - Fix perl syntax with perl 5.24+ - While here, fix typo in documentation PR: 190531 Submitted by: vess@slavof.net Approved by: maintainer timeout (daemon, 2.5 years) MFH: 2016Q4 Added: head/misc/p5-I18N-LangTags/files/ head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags.pm (contents, props changed) head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags_Detect.pm (contents, props changed) Modified: head/misc/p5-I18N-LangTags/Makefile Modified: head/misc/p5-I18N-LangTags/Makefile ============================================================================== --- head/misc/p5-I18N-LangTags/Makefile Thu Nov 24 09:33:18 2016 (r426997) +++ head/misc/p5-I18N-LangTags/Makefile Thu Nov 24 09:57:15 2016 (r426998) @@ -3,7 +3,7 @@ PORTNAME= I18N-LangTags PORTVERSION= 0.35 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- Added: head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags.pm Thu Nov 24 09:57:15 2016 (r426998) @@ -0,0 +1,11 @@ +--- lib/I18N/LangTags.pm.orig 2004-10-07 07:26:33 UTC ++++ lib/I18N/LangTags.pm +@@ -489,7 +489,7 @@ lookup in %greetings fails. That's the + You could instead do lookups on $wanted with: + + use I18N::LangTags qw(same_language_tag); +- my $repsonse = ''; ++ my $response = ''; + foreach my $l2 (keys %greetings) { + if(same_language_tag($wanted, $l2)) { + $response = $greetings{$l2}; Added: head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags_Detect.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/p5-I18N-LangTags/files/patch-lib_I18N_LangTags_Detect.pm Thu Nov 24 09:57:15 2016 (r426998) @@ -0,0 +1,11 @@ +--- lib/I18N/LangTags/Detect.pm.orig 2004-06-21 05:47:55 UTC ++++ lib/I18N/LangTags/Detect.pm +@@ -137,7 +137,7 @@ sub _try_use { # Basically a wrapper a + my $module = $_[0]; # ASSUME sane module name! + { no strict 'refs'; + return($tried{$module} = 1) +- if defined(%{$module . "::Lexicon"}) or defined(@{$module . "::ISA"}); ++ if %{$module . "::Lexicon"} or @{$module . "::ISA"}; + # weird case: we never use'd it, but there it is! + } +