diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-10-27 09:33:04 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-10-27 09:33:04 +0000 |
commit | 6e9bef61c6bdaaeead2bd55b9535bedef3baf871 (patch) | |
tree | d1315a386ec4d3c129acd6e5a80ca001719ed1e7 /games-board/gnushogi | |
parent | Version bump subvertpy to 0.7.5. (diff) | |
download | historical-6e9bef61c6bdaaeead2bd55b9535bedef3baf871.tar.gz historical-6e9bef61c6bdaaeead2bd55b9535bedef3baf871.tar.bz2 historical-6e9bef61c6bdaaeead2bd55b9535bedef3baf871.zip |
Fix overflow. Bug #340901
Package-Manager: portage-2.1.9.22/cvs/Linux i686
Diffstat (limited to 'games-board/gnushogi')
-rw-r--r-- | games-board/gnushogi/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/gnushogi/Manifest | 5 | ||||
-rw-r--r-- | games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch | 11 | ||||
-rw-r--r-- | games-board/gnushogi/gnushogi-1.3.ebuild | 5 |
4 files changed, 22 insertions, 5 deletions
diff --git a/games-board/gnushogi/ChangeLog b/games-board/gnushogi/ChangeLog index 1181951e7c10..8eabfd6da7b0 100644 --- a/games-board/gnushogi/ChangeLog +++ b/games-board/gnushogi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/gnushogi # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/ChangeLog,v 1.16 2010/08/31 20:07:24 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/ChangeLog,v 1.17 2010/10/27 09:33:04 tupone Exp $ + + 27 Oct 2010; Tupone Alfredo <tupone@gentoo.org> gnushogi-1.3.ebuild, + +files/gnushogi-1.3-ovflfix.patch: + Fix overflow. Bug #340901 by flameeyes@gentoo.org 31 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> gnushogi-1.3.ebuild: respect LDFLAGS bug #335444 diff --git a/games-board/gnushogi/Manifest b/games-board/gnushogi/Manifest index 8dee15d1da1d..523bfc84a188 100644 --- a/games-board/gnushogi/Manifest +++ b/games-board/gnushogi/Manifest @@ -1,7 +1,8 @@ AUX 1.3-errno.patch 304 RMD160 2cbd468bab6a7e42a3cd3e1971216e2777b063b4 SHA1 b1a8c90f9d93f48bdedc7b9ada07ffc02a70af86 SHA256 0fa129a571eaed3ff395d39acde806d0052554775195c434c134c0cb846bd5f7 AUX gnushogi-1.3-gcc4.patch 2475 RMD160 edbffd76f35b16fab93b5f11a30d269bd89362f2 SHA1 15b61567841e38dbf2caadc01bd555b2a2d2fd30 SHA256 188edc814191f8c8b21165d60144ee04c8c575a57c6c7801ae0b477420f2f0b9 +AUX gnushogi-1.3-ovflfix.patch 366 RMD160 040e29ac7b1f68ca124284b8281c85c83c143b48 SHA1 ba5ca4cbf7085fd11d177ceaac89cbc0b16ec516 SHA256 b2c29f5514b48d1e5c4d4453d4577e404d61ea70c5e2beac191a0b854c095871 AUX gnushogi-1.3-parallel.patch 290 RMD160 e6882f6086c975c3e698e5377c1b06c03f86e98d SHA1 d7852ae76ba1169b96ca68c2160c449c32e26cdb SHA256 913dcc1e04ff7029c6adc498e74a65ed9499dbf41868c0c7fe91e6ac5bf80e0a DIST gnushogi-1.3.tar.gz 558642 RMD160 8cb34238cb175855e4bc2b29c2ae492a141576f9 SHA1 c61fcca036eed4dfa6651330a7a51c20d25dd6c3 SHA256 57148a89e4ab2702b2434c10f6e261bc26ea0954754c3d0b3e3eac67b589e5c2 -EBUILD gnushogi-1.3.ebuild 1474 RMD160 e05085d04815204a43232c13b961043d6b5e6eba SHA1 bf9ca4abf8bef1806aa1ff8978c39431fe842783 SHA256 4a760796760d9180d0375dbbe237326f8f751796bccf09ba614514230c39c197 -MISC ChangeLog 2132 RMD160 1e1123ac1516a2295591b7a92d5e98e3b4990286 SHA1 7a535796e8d326f3faa61835c24cbefef878da1b SHA256 be7297e9adf16a1c7ca14563c972a3d4e86a54bd279d2579926709d21e8f711b +EBUILD gnushogi-1.3.ebuild 1508 RMD160 cb22bccd3ec90cf5dc00e3d7e403afd0d5248425 SHA1 d6498a1192afa4a1b85764f0c2f2efed4f28f099 SHA256 159cdb262366aae67a9cf00a4e395e7e15edcb789fc022f06d9e964db09f2135 +MISC ChangeLog 2290 RMD160 07c890d6e32618f7bfd051016dc9ce1c52129661 SHA1 649f1f9b3dcc27af5fd3c36341d599146078be06 SHA256 7fcba4a3a6a831d84ce202d63e4833fa8b613e21e4a87be33daef1b3ccbe5bf0 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch b/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch new file mode 100644 index 000000000000..78ab7759d1bf --- /dev/null +++ b/games-board/gnushogi/files/gnushogi-1.3-ovflfix.patch @@ -0,0 +1,11 @@ +--- gnushogi/commondsp.c.old 2010-10-27 11:26:21.000000000 +0200 ++++ gnushogi/commondsp.c 2010-10-27 11:27:59.000000000 +0200 +@@ -1737,7 +1737,7 @@ + s[0] = sx[0] = '\0'; + + while(!sx[0]) +- (void)fgets(sx, 256, stdin); ++ (void)fgets(sx, 80, stdin); + } + else + { diff --git a/games-board/gnushogi/gnushogi-1.3.ebuild b/games-board/gnushogi/gnushogi-1.3.ebuild index 567a9aff4390..430a53d42516 100644 --- a/games-board/gnushogi/gnushogi-1.3.ebuild +++ b/games-board/gnushogi/gnushogi-1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild,v 1.18 2010/08/31 20:07:24 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.3.ebuild,v 1.19 2010/10/27 09:33:04 tupone Exp $ EAPI=2 inherit eutils games @@ -32,7 +32,8 @@ src_prepare() { epatch \ "${FILESDIR}"/${PV}-errno.patch \ "${FILESDIR}"/${P}-gcc4.patch \ - "${FILESDIR}"/${P}-parallel.patch + "${FILESDIR}"/${P}-parallel.patch \ + "${FILESDIR}"/${P}-ovflfix.patch # respect LDFLAGS bug #335444 sed -i \ -e '/^LDFLAGS/s/=/+=/' \ |