From 031db682ab5a5a69eaf68a9f227b0b840e6c7596 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Thu, 28 Oct 2010 11:12:45 +0000 Subject: Fix overflow. Bug #340255 (Portage version: 2.1.9.22/cvs/Linux i686) --- games-roguelike/hengband/ChangeLog | 6 +++++- games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch | 11 +++++++++++ games-roguelike/hengband/hengband-1.6.2-r1.ebuild | 5 +++-- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch (limited to 'games-roguelike') diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog index 601bdba7d602..16b625668c79 100644 --- a/games-roguelike/hengband/ChangeLog +++ b/games-roguelike/hengband/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-roguelike/hengband # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.13 2010/06/04 06:32:45 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.14 2010/10/28 11:12:45 tupone Exp $ + + 28 Oct 2010; Tupone Alfredo hengband-1.6.2-r1.ebuild, + +files/hengband-1.6.2-ovflfix.patch: + Fix overflow. Bug #340255 by flameeyes@gentoo.org 04 Jun 2010; Tupone Alfredo hengband-1.6.2-r1.ebuild, files/hengband-1.6.2-added_faq.patch: diff --git a/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch b/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch new file mode 100644 index 000000000000..47bb53cf771a --- /dev/null +++ b/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch @@ -0,0 +1,11 @@ +--- src/effects.c.old 2010-10-28 11:51:31.000000000 +0200 ++++ src/effects.c 2010-10-28 11:51:59.000000000 +0200 +@@ -5191,7 +5191,7 @@ + } + else + { +- char buf[10]; ++ char buf[15]; + + if (p_ptr->inside_arena) + #ifdef JP diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild index b4bccb76a60c..98807682ac2a 100644 --- a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild +++ b/games-roguelike/hengband/hengband-1.6.2-r1.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-roguelike/hengband/hengband-1.6.2-r1.ebuild,v 1.5 2010/10/13 23:46:42 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2-r1.ebuild,v 1.6 2010/10/28 11:12:45 tupone Exp $ EAPI=2 inherit eutils autotools games @@ -33,7 +33,8 @@ src_prepare() { || die epatch \ "../${P}"-mispellings.patch \ - "${FILESDIR}/${P}"-added_faq.patch + "${FILESDIR}/${P}"-added_faq.patch \ + "${FILESDIR}"/${P}-ovflfix.patch eautoreconf } -- cgit v1.2.3-65-gdbad