From owner-svn-ports-head@freebsd.org Wed Aug 10 10:11:51 2016 Return-Path: Delivered-To: svn-ports-head@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 C9693BB34B4; Wed, 10 Aug 2016 10:11:51 +0000 (UTC) (envelope-from cpm@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 98C5C1BFA; Wed, 10 Aug 2016 10:11:51 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7AABoxZ097720; Wed, 10 Aug 2016 10:11:50 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7AABo98097718; Wed, 10 Aug 2016 10:11:50 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201608101011.u7AABo98097718@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Wed, 10 Aug 2016 10:11:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420004 - in head/games/cowsay: . 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-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 10:11:51 -0000 Author: cpm Date: Wed Aug 10 10:11:50 2016 New Revision: 420004 URL: https://svnweb.freebsd.org/changeset/ports/420004 Log: - Partially fix cowsay UTF-8 handling - Bump PORTREVISION PR: 211614 Submitted by: Aleksander Alekseev Approved by: Nikolai Lifanov (maintainer), junovitch (mentor) Modified: head/games/cowsay/Makefile head/games/cowsay/files/patch-cowsay Modified: head/games/cowsay/Makefile ============================================================================== --- head/games/cowsay/Makefile Wed Aug 10 10:02:06 2016 (r420003) +++ head/games/cowsay/Makefile Wed Aug 10 10:11:50 2016 (r420004) @@ -4,6 +4,7 @@ PORTNAME= cowsay PORTVERSION= 3.04 DISTVERSIONPREFIX= cowsay- +PORTREVISION= 1 CATEGORIES= games MAINTAINER= lifanov@mail.lifanov.com Modified: head/games/cowsay/files/patch-cowsay ============================================================================== --- head/games/cowsay/files/patch-cowsay Wed Aug 10 10:02:06 2016 (r420003) +++ head/games/cowsay/files/patch-cowsay Wed Aug 10 10:11:50 2016 (r420004) @@ -2,7 +2,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/03/25 2 --- cowsay.orig 2016-06-25 02:45:15 UTC +++ cowsay -@@ -7,7 +7,7 @@ +@@ -7,11 +7,18 @@ ## use Text::Tabs qw(expand); @@ -11,7 +11,18 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/03/25 2 use File::Basename; use Getopt::Std; use Cwd; -@@ -185,3 +185,20 @@ Usage: $progname [-bdgpstwy] [-h] [-e ey + ++if (${^UTF8LOCALE}) { ++ binmode STDIN, ':utf8'; ++ binmode STDOUT, ':utf8'; ++ require Encode; ++ eval { $_ = Encode::decode_utf8($_,1) } for @ARGV; ++} ++ + $version = "3.03"; + $progname = basename($0); + $eyes = "oo"; +@@ -185,3 +192,20 @@ Usage: $progname [-bdgpstwy] [-h] [-e ey [-l] [-n] [-T tongue] [-W wrapcolumn] [message] EOF }