FreeBSD Bugzilla – Attachment 173347 Details for
Bug 211614
[PATCH] games/cowsay: cowsay doesn't handle UTF8 properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-cowsay
cowsay.diff (text/plain), 1.17 KB, created by
Carlos J. Puga Medina
on 2016-08-06 03:11:20 UTC
(
hide
)
Description:
patch-cowsay
Filename:
MIME Type:
Creator:
Carlos J. Puga Medina
Created:
2016-08-06 03:11:20 UTC
Size:
1.17 KB
patch
obsolete
>Index: games/cowsay/Makefile >=================================================================== >--- games/cowsay/Makefile (revision 419720) >+++ games/cowsay/Makefile (working copy) >@@ -4,6 +4,7 @@ > PORTNAME= cowsay > PORTVERSION= 3.04 > DISTVERSIONPREFIX= cowsay- >+PORTREVISION= 1 > CATEGORIES= games > > MAINTAINER= lifanov@mail.lifanov.com >Index: games/cowsay/files/patch-cowsay >=================================================================== >--- games/cowsay/files/patch-cowsay (revision 419720) >+++ games/cowsay/files/patch-cowsay (working copy) >@@ -2,7 +2,7 @@ > > --- 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 @@ > 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lifanov
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 211614
:
173345
|
173346
| 173347