Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364365 - games-misc/cowsay-3.03-r2 has problem with utf8 quotes
Summary: games-misc/cowsay-3.03-r2 has problem with utf8 quotes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 14:42 UTC by Laurento Frittella (mrfree)
Modified: 2011-04-21 20:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/cowsay-3.03-utf8-fix.patch (cowsay-3.03-utf8-fix.patch,454 bytes, text/plain)
2011-04-21 14:42 UTC, Laurento Frittella (mrfree)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2011-04-21 14:42:41 UTC
Created attachment 270785 [details]
files/cowsay-3.03-utf8-fix.patch

cowsay-3.03 doesn't work as expected with utf8 encoded quotes

here is the debian bugreport from where I've got the attached patch
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=31;bug=254557
Comment 1 Laurento Frittella (mrfree) 2011-04-21 14:43:53 UTC
... and the trivial ebuild patch

--- /usr/portage/games-misc/cowsay/cowsay-3.03-r2.ebuild	2010-08-24 01:18:51.000000000 +0200
+++ /usr/local/portage/games-misc/cowsay/cowsay-3.03-r2.ebuild	2011-04-21 16:37:39.422967176 +0200
@@ -28,7 +28,8 @@
 			|| die "sed cowsay.1 failed"
 	epatch \
 		"${FILESDIR}/${P}"-tongue.patch \
-		"${FILESDIR}/${P}"-mech.patch
+		"${FILESDIR}/${P}"-mech.patch \
+		"${FILESDIR}/${P}"-utf8-fix.patch
 }
 
 src_install() {
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2011-04-21 20:13:15 UTC
in portage.