summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-28 11:12:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-28 11:12:45 +0000
commit031db682ab5a5a69eaf68a9f227b0b840e6c7596 (patch)
tree2ae345a1f2af0b7fcad0d4f528728c559ace9edb /games-roguelike
parentquoting (diff)
downloadgentoo-2-031db682ab5a5a69eaf68a9f227b0b840e6c7596.tar.gz
gentoo-2-031db682ab5a5a69eaf68a9f227b0b840e6c7596.tar.bz2
gentoo-2-031db682ab5a5a69eaf68a9f227b0b840e6c7596.zip
Fix overflow. Bug #340255
(Portage version: 2.1.9.22/cvs/Linux i686)
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/hengband/ChangeLog6
-rw-r--r--games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch11
-rw-r--r--games-roguelike/hengband/hengband-1.6.2-r1.ebuild5
3 files changed, 19 insertions, 3 deletions
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 <tupone@gentoo.org> 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 <tupone@gentoo.org> 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
}