diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-23 23:18:51 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-23 23:18:51 +0000 |
commit | c96e78b6b8184187996e58d91edc81246b3763cc (patch) | |
tree | 635461aaec650d7b15dd372412a7c7da45f08c5b /games-misc | |
parent | removed hard dependency on dhcp4. Now dhcp3 can be used as well (diff) | |
download | gentoo-2-c96e78b6b8184187996e58d91edc81246b3763cc.tar.gz gentoo-2-c96e78b6b8184187996e58d91edc81246b3763cc.tar.bz2 gentoo-2-c96e78b6b8184187996e58d91edc81246b3763cc.zip |
fix mech-and-cow with patch from Kostya Sha (bug #333881); EAPI=2
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/cowsay/ChangeLog | 8 | ||||
-rw-r--r-- | games-misc/cowsay/cowsay-3.03-r2.ebuild | 13 | ||||
-rw-r--r-- | games-misc/cowsay/files/cowsay-3.03-mech.patch | 18 |
3 files changed, 31 insertions, 8 deletions
diff --git a/games-misc/cowsay/ChangeLog b/games-misc/cowsay/ChangeLog index 35ede78e2cec..89ca09a4ee79 100644 --- a/games-misc/cowsay/ChangeLog +++ b/games-misc/cowsay/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/cowsay -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/ChangeLog,v 1.34 2009/05/31 18:24:59 ranger Exp $ +# 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 $ + + 23 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> + cowsay-3.03-r2.ebuild, +files/cowsay-3.03-mech.patch: + fix mech-and-cow with patch from Kostya Sha (bug #333881); EAPI=2 31 May 2009; Brent Baude <ranger@gentoo.org> cowsay-3.03-r2.ebuild: Marking cowsay-3.03-r2 ppc64 for bug 270009 diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild index 5585b71ee9ae..760a04bf8f2c 100644 --- a/games-misc/cowsay/cowsay-3.03-r2.ebuild +++ b/games-misc/cowsay/cowsay-3.03-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.8 2009/05/31 18:24:59 ranger Exp $ +# $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 $ +EAPI=2 inherit eutils DESCRIPTION="configurable talking ASCII cow (and other characters)" @@ -15,9 +16,7 @@ IUSE="" RDEPEND=">=dev-lang/perl-5" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e '1 c\#!/usr/bin/perl'\ -e 's/\$version/\$VERSION/g'\ @@ -27,7 +26,9 @@ src_unpack() { sed -i \ -e "s|%PREFIX%/share/cows|/usr/share/${P}/cows|" cowsay.1 \ || die "sed cowsay.1 failed" - epatch "${FILESDIR}/${P}"-tongue.patch + epatch \ + "${FILESDIR}/${P}"-tongue.patch \ + "${FILESDIR}/${P}"-mech.patch } src_install() { diff --git a/games-misc/cowsay/files/cowsay-3.03-mech.patch b/games-misc/cowsay/files/cowsay-3.03-mech.patch new file mode 100644 index 000000000000..10478ed6651d --- /dev/null +++ b/games-misc/cowsay/files/cowsay-3.03-mech.patch @@ -0,0 +1,18 @@ +--- cows/mech-and-cow 2009-06-21 03:09:36.000000000 +0300 ++++ cows/mech-and-cow.cow 2010-08-22 01:04:02.670000262 +0300 +@@ -1,3 +1,5 @@ ++$the_cow = <<EOC; ++${thouts} + ,-----. + | | + ,--| |-. +@@ -14,8 +16,4 @@ + (__)\ )\/\ /' / | `i + ||----w | ___,;`----'.___L_,-'`\__ + || || i_____;----\.____i""\____\ +- +- +- +- +- ++EOC |