diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-07-21 11:59:35 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-07-21 11:59:35 +0000 |
commit | 74650bebf3cfa0370c93c62c7ae6d5467491ee8c (patch) | |
tree | fb52383bd7ebded33560a4fb169237e552f1f047 /dev-games/poker-eval | |
parent | USE soap wrt #138038. (diff) | |
download | historical-74650bebf3cfa0370c93c62c7ae6d5467491ee8c.tar.gz historical-74650bebf3cfa0370c93c62c7ae6d5467491ee8c.tar.bz2 historical-74650bebf3cfa0370c93c62c7ae6d5467491ee8c.zip |
Fix emerging with test enabled. Bug #278184
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-games/poker-eval')
-rw-r--r-- | dev-games/poker-eval/ChangeLog | 6 | ||||
-rw-r--r-- | dev-games/poker-eval/Manifest | 5 | ||||
-rw-r--r-- | dev-games/poker-eval/files/poker-eval-135.0-bash40.patch | 32 | ||||
-rw-r--r-- | dev-games/poker-eval/poker-eval-135.0.ebuild | 12 |
4 files changed, 49 insertions, 6 deletions
diff --git a/dev-games/poker-eval/ChangeLog b/dev-games/poker-eval/ChangeLog index c00745796650..eae863be3fca 100644 --- a/dev-games/poker-eval/ChangeLog +++ b/dev-games/poker-eval/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-games/poker-eval # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/poker-eval/ChangeLog,v 1.14 2009/01/01 22:26:40 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/poker-eval/ChangeLog,v 1.15 2009/07/21 11:59:35 tupone Exp $ + + 21 Jul 2009; Alfredo Tupone <tupone@gentoo.org> + +files/poker-eval-135.0-bash40.patch, poker-eval-135.0.ebuild: + Fix emerging with test enabled. Bug #278184 by flameeyes@gentoo.org *poker-eval-135.0 (01 Jan 2009) diff --git a/dev-games/poker-eval/Manifest b/dev-games/poker-eval/Manifest index c2efeca40463..856448453e39 100644 --- a/dev-games/poker-eval/Manifest +++ b/dev-games/poker-eval/Manifest @@ -1,6 +1,7 @@ +AUX poker-eval-135.0-bash40.patch 1165 RMD160 f4c45dfefde0b691078aef7b0882d60daf9fe762 SHA1 2b4295d2b1e5ca9c7da0d1a077a80c8d4f762a20 SHA256 7289aa33b1f16f95a725b3cee91dd409c1652958e526e2bb7894b44325ca0dc0 DIST poker-eval-133.0.tar.gz 466897 RMD160 fd70c81d46171fffa85f020d85277772a8c2bae7 SHA1 fb7ea0b822fdb43b0f963de06cd3bcdf4860ff68 SHA256 5b06fadef4efa2e8d959fba345d1930912a735622f70c3cb898c75f45a2343f0 DIST poker-eval-135.0.tar.gz 468010 RMD160 2571d5ba73a1afb5a78f94ee78d51deea072c695 SHA1 d72f6aadcf1cb9134a52a6a6e6d6a3905e093eca SHA256 84dfafcb6db03996faa84bcab17bb7c69ef81ebc8189d78a72d7861532b0a537 EBUILD poker-eval-133.0.ebuild 572 RMD160 25ea99d0f8e6989350a9ff16c97b719333a6e257 SHA1 f03c6bb9642da8b6eaa657ddcede4a3925446fb9 SHA256 2e3eb8a9e13d16e0ca5985b3ae855ada037b177b6695a810b5226ea9dd5e6c1a -EBUILD poker-eval-135.0.ebuild 665 RMD160 b5416780d7570d1bf25e8a179a38a871e77c1e02 SHA1 8d79bc30d2f39535f36f25448bdcba07efd14f16 SHA256 673b3905d9ce3737c606c82cfb1a974022d01a83deda1982af674a993f4cc544 -MISC ChangeLog 1824 RMD160 635f70e2039f97a9b857511c480fa3e4a00f30e8 SHA1 970b4c241b681f219cb96f327993c2b73fdaaa52 SHA256 110a85f209bfce287494a3e69f0ebd3d0fd5dd97d7e28e2525daefb359aeb6a9 +EBUILD poker-eval-135.0.ebuild 717 RMD160 3e6e5575d917d89dc1bbeced13c86d044f9ffb28 SHA1 35d596c5793d411a0d2316bb3c914ab7ad55657a SHA256 8838d80cb803a8a50e11223048fd3a5fbb909dd3b982f0fba4514596b839492c +MISC ChangeLog 2007 RMD160 c17b68301a6ccd56d7330d2e7bccc122237ff2b8 SHA1 b2de5587422274c335b89e03cefb46b4575b34e3 SHA256 19d016def0a349aa4c5ae7d28de390dc1ecec8f5b2bb702324ad1e96699393ea MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/dev-games/poker-eval/files/poker-eval-135.0-bash40.patch b/dev-games/poker-eval/files/poker-eval-135.0-bash40.patch new file mode 100644 index 000000000000..f9cc96388f50 --- /dev/null +++ b/dev-games/poker-eval/files/poker-eval-135.0-bash40.patch @@ -0,0 +1,32 @@ +--- tests/bug1823.old 2009-07-21 13:45:13.000000000 +0200 ++++ tests/bug1823 2009-07-21 13:45:52.000000000 +0200 +@@ -27,7 +27,8 @@ + cards scoop HIwin HIlos HItie LOwin LOlos LOtie EV + As Qs Kh Jh 500 715 15 90 0 0 0 0.796 + Ac Kd 5d 7h 15 15 715 90 224 0 0 0.204 +-EOF) ++EOF ++) + if test "$r" != "$e" ; then + diff -u <(echo "$e") <(echo "$r") + exit 1 +@@ -39,7 +40,8 @@ + cards scoop HIwin HIlos HItie LOwin LOlos LOtie EV + As 6s 7h 5h 250 324 0 496 0 0 168 0.675 + Ac 7d 6d 5d 0 0 324 496 0 0 168 0.325 +-EOF) ++EOF ++) + if test "$r" != "$e" ; then + diff -u <(echo "$e") <(echo "$r") + exit 1 +@@ -51,7 +53,8 @@ + cards scoop HIwin HIlos HItie LOwin LOlos LOtie EV + As 6s 7h 5h 289 381 352 87 12 0 157 0.504 + Ac 8d 6d 5d 314 352 381 87 0 12 157 0.496 +-EOF) ++EOF ++) + if test "$r" != "$e" ; then + diff -u <(echo "$e") <(echo "$r") + exit 1 diff --git a/dev-games/poker-eval/poker-eval-135.0.ebuild b/dev-games/poker-eval/poker-eval-135.0.ebuild index 340f09cc7b86..c3938b814579 100644 --- a/dev-games/poker-eval/poker-eval-135.0.ebuild +++ b/dev-games/poker-eval/poker-eval-135.0.ebuild @@ -1,6 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/poker-eval/poker-eval-135.0.ebuild,v 1.1 2009/01/01 22:26:40 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/poker-eval/poker-eval-135.0.ebuild,v 1.2 2009/07/21 11:59:35 tupone Exp $ +EAPI=2 + +inherit eutils DESCRIPTION="A fast C library for evaluating poker hands" HOMEPAGE="http://pokersource.info/" @@ -11,9 +14,12 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~x86" IUSE="" -src_compile() { +src_prepare() { + epatch "${FILESDIR}"/${P}-bash40.patch +} + +src_configure() { econf --without-ccache || die - emake || die "emake failed" } src_install() { |