Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364365

Summary: games-misc/cowsay-3.03-r2 has problem with utf8 quotes
Product: Gentoo Linux Reporter: Laurento Frittella (mrfree) <laurento.frittella>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: files/cowsay-3.03-utf8-fix.patch

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.