diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-04-21 20:13:20 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-04-21 20:13:20 +0000 |
commit | 7e68a7138769d698236ec7a9c93752e9385d16db (patch) | |
tree | 5e4ac5ddffccbe7525852ee5e0b755e0067d7830 /games-misc/cowsay | |
parent | Version bump (diff) | |
download | historical-7e68a7138769d698236ec7a9c93752e9385d16db.tar.gz historical-7e68a7138769d698236ec7a9c93752e9385d16db.tar.bz2 historical-7e68a7138769d698236ec7a9c93752e9385d16db.zip |
Add patch snatched from debian for bug #364365
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-misc/cowsay')
-rw-r--r-- | games-misc/cowsay/ChangeLog | 8 | ||||
-rw-r--r-- | games-misc/cowsay/Manifest | 5 | ||||
-rw-r--r-- | games-misc/cowsay/cowsay-3.03-r2.ebuild | 7 | ||||
-rw-r--r-- | games-misc/cowsay/files/cowsay-3.03-utf8.patch | 17 |
4 files changed, 30 insertions, 7 deletions
diff --git a/games-misc/cowsay/ChangeLog b/games-misc/cowsay/ChangeLog index 89ca09a4ee79..b56e7deab737 100644 --- a/games-misc/cowsay/ChangeLog +++ b/games-misc/cowsay/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/cowsay -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/ChangeLog,v 1.35 2010/08/23 23:18:51 mr_bones_ Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/ChangeLog,v 1.36 2011/04/21 20:13:20 mr_bones_ Exp $ + + 21 Apr 2011; Michael Sterrett <mr_bones_@gentoo.org> + cowsay-3.03-r2.ebuild, +files/cowsay-3.03-utf8.patch: + Add patch snatched from debian for bug #364365 23 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> cowsay-3.03-r2.ebuild, +files/cowsay-3.03-mech.patch: diff --git a/games-misc/cowsay/Manifest b/games-misc/cowsay/Manifest index d612ee7439bd..e6f1b241430f 100644 --- a/games-misc/cowsay/Manifest +++ b/games-misc/cowsay/Manifest @@ -1,6 +1,7 @@ AUX cowsay-3.03-mech.patch 490 RMD160 bc2318e9832108a39728e92806578566618fad8e SHA1 cec033ce530daa01736a841f351144f3ca5aea3d SHA256 e41ec32c25afd5e8ed8708cc35b228646e0d2d793f91d27327119850b554d6e2 AUX cowsay-3.03-tongue.patch 358 RMD160 9de33eec59e44fd2a375bca1419313f856bade7f SHA1 4cb24d5ea35df531c1e8ad2d000d643e41e97964 SHA256 07a01f73455a00c50760cf1ef9e17a6483b0036ac23fb51d978d38deacdd0f9e +AUX cowsay-3.03-utf8.patch 454 RMD160 00ea66c1561dd6ec2a31156c49f7f8d067b7b119 SHA1 f8eca4fa5dd4c7d404b215ca98601715042a7b62 SHA256 5400fd73294e86f1d58098276e57bf74e3688ce22f07f1df453dd903eda397b1 DIST cowsay-3.03.tar.gz 15189 RMD160 f26b9ffe3d5551ee8049979c628bbe198817044a SHA1 cc65a9b13295c87df94a58caa8a9176ce5ec4a27 SHA256 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af -EBUILD cowsay-3.03-r2.ebuild 1210 RMD160 cb6a0236862f46b85960d0e1cbb282b72e0dc709 SHA1 87de0acc9d40c97e1f86c1d85a8b1d29981a8730 SHA256 50ead56549ec8deac49c8c0638c5f4b738d5855b5f4ffa74dfbb979d2ea79335 -MISC ChangeLog 4193 RMD160 51faa3c1a57039e28c3944055fc73faa2ad88d7b SHA1 0f91b24c068fcb921c42295d34c7c755a77c7d85 SHA256 627198f1ab74acce039057daebdf627afee4eb658502ef2b39f39514defab43c +EBUILD cowsay-3.03-r2.ebuild 1245 RMD160 14bce76715480958f0dfa33d1c95e7033965c4d1 SHA1 7c73d1ef3dc0166174acfb28749a896ce8832272 SHA256 8f801328113e872908d32158a99a363c8c14b0ba0ba389490166d3b2506020ac +MISC ChangeLog 4354 RMD160 5681d5b0ee3d5c8a343451258269797fb9140793 SHA1 0378422a1656d493aad0e31aad66c42cf0a10e71 SHA256 6049c0d281da8e00fb42361fe6688b1515a0391569df60303fc78e012cc46019 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild index 760a04bf8f2c..ba890fe93b89 100644 --- a/games-misc/cowsay/cowsay-3.03-r2.ebuild +++ b/games-misc/cowsay/cowsay-3.03-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/cowsay-3.03-r2.ebuild,v 1.9 2010/08/23 23:18:51 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/cowsay-3.03-r2.ebuild,v 1.10 2011/04/21 20:13:20 mr_bones_ Exp $ EAPI=2 inherit eutils @@ -28,7 +28,8 @@ src_prepare() { || die "sed cowsay.1 failed" epatch \ "${FILESDIR}/${P}"-tongue.patch \ - "${FILESDIR}/${P}"-mech.patch + "${FILESDIR}/${P}"-mech.patch \ + "${FILESDIR}/${P}"-utf8.patch } src_install() { diff --git a/games-misc/cowsay/files/cowsay-3.03-utf8.patch b/games-misc/cowsay/files/cowsay-3.03-utf8.patch new file mode 100644 index 000000000000..6aed9c149e3d --- /dev/null +++ b/games-misc/cowsay/files/cowsay-3.03-utf8.patch @@ -0,0 +1,17 @@ +diff -Naur cowsay-3.03.orig//cowsay cowsay-3.03/cowsay +--- cowsay-3.03.orig//cowsay 2011-04-21 16:36:03.581377699 +0200 ++++ cowsay-3.03/cowsay 2011-04-21 16:37:07.968430100 +0200 +@@ -12,6 +12,13 @@ + use Getopt::Std; + use Cwd; + ++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"; |