summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-30 10:25:56 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-30 10:25:56 +0000
commit0cd090d3091322fddb073a3866ba45ff58ec7253 (patch)
treef7513910a9c3dd37416303bf7e358169386b8473 /games-emulation
parentAdd support for zabbix (diff)
downloadhistorical-0cd090d3091322fddb073a3866ba45ff58ec7253.tar.gz
historical-0cd090d3091322fddb073a3866ba45ff58ec7253.tar.bz2
historical-0cd090d3091322fddb073a3866ba45ff58ec7253.zip
Fix overflow. Bug #349464
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/xmess/ChangeLog8
-rw-r--r--games-emulation/xmess/Manifest15
-rw-r--r--games-emulation/xmess/files/xmess-0.106-overflow.patch11
-rw-r--r--games-emulation/xmess/xmess-0.106.ebuild11
4 files changed, 35 insertions, 10 deletions
diff --git a/games-emulation/xmess/ChangeLog b/games-emulation/xmess/ChangeLog
index 2921cfe34314..13f1c2465728 100644
--- a/games-emulation/xmess/ChangeLog
+++ b/games-emulation/xmess/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/xmess
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.64 2009/11/10 21:12:23 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.65 2011/06/30 10:25:56 tupone Exp $
+
+ 30 Jun 2011; Tupone Alfredo <tupone@gentoo.org> xmess-0.106.ebuild,
+ +files/xmess-0.106-overflow.patch:
+ Fix overflow. Bug #349464 by Diego Elio Pettenò
10 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> xmess-0.106.ebuild:
Remove USE arts (deprecated).
diff --git a/games-emulation/xmess/Manifest b/games-emulation/xmess/Manifest
index 3997ac2ebe0d..2ad1114f1e2d 100644
--- a/games-emulation/xmess/Manifest
+++ b/games-emulation/xmess/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX xmess-0.106-overflow.patch 451 RMD160 88dc85ad0cdf0113a45cde0ad7ff72e24ba2d6e5 SHA1 96f6ff0f7fc74d5a5d59ac5c7df6f293f196a6dc SHA256 e02faf68e17cc5615855470faf02b1265811140c8011ea7f04aea90616dce9ba
DIST xmame-0.106.tar.bz2 17117298 RMD160 eab4fa232d59fce5b2216f942f8bc58a992f8d26 SHA1 7ae50f869067e101e053ca18e6f788297fcad9e2 SHA256 a385d86adebc2eb53b560bb522cf569569a74c4104605a8e7d61f1caa0f5e4df
-EBUILD xmess-0.106.ebuild 6365 RMD160 51beca99b4dfba1dd981fa67d825b51e137c62f3 SHA1 9017ea1fe5d862eb5295e808bbaf9bbc520945e7 SHA256 bc1ffbbbe8d2e1be0a70b6c6f68bcb31e63145b4c7971e62be4321a65d98c20a
-MISC ChangeLog 9053 RMD160 5cc28facb4b117f9455a5305952ac831f696666c SHA1 4f841a7cdcc2982523350c002ebe8ecb01c7441e SHA256 87762c8224e06448b348777f5608c831ddfe582b6e3a2e7029edf6f0fe61d5c1
+EBUILD xmess-0.106.ebuild 6387 RMD160 145a960b1ff97fd54774c6fb0db2d1fb51186118 SHA1 be9dd3ad2353b186f0b4d283d323b06f6043846b SHA256 57316ef53a113d07473f25f848f17ae50124ab863dd7236f596a3fed9bb9a8a2
+MISC ChangeLog 9209 RMD160 3d00d979392dbcb521691ab8e8856cadc9fdd10b SHA1 f833ba1bb162ae23608ac315186a0d6cfb8009e0 SHA256 b4215fadb04b272b5dab0ef8ee56f26c5e248efe66233f639d570598f1e66dfd
MISC metadata.xml 1545 RMD160 02d368dab680d4d857b78cd9f7d49956dd69c19b SHA1 0c81127c7bc6f036a71b5fadff0179bf09d4f9c3 SHA256 026ea67365d6cceb2f152020347543b64054067498723fb6e545afbd392dc02d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk4MTz8ACgkQIY77eQFFFC1SgACg6KM/MzhCfb9V19ayz0utyNy9
+b78AnRhWUtFgQh8kB+Auekf4Xt/gdK73
+=RWkT
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/xmess/files/xmess-0.106-overflow.patch b/games-emulation/xmess/files/xmess-0.106-overflow.patch
new file mode 100644
index 000000000000..0c4c2ac10606
--- /dev/null
+++ b/games-emulation/xmess/files/xmess-0.106-overflow.patch
@@ -0,0 +1,11 @@
+--- mess/machine/corvushd.c.old 2011-06-30 11:41:55.987772189 +0200
++++ mess/machine/corvushd.c 2011-06-30 11:42:15.215986836 +0200
+@@ -243,7 +243,7 @@
+ /* */
+ struct {
+ UINT8 status; /* Status code returned by command executed */
+- UINT8 firmware[32]; /* Firmware message */
++ UINT8 firmware[33]; /* Firmware message */
+ UINT8 rom_version; /* ROM Version */
+ struct {
+ UINT8 sectors_per_track; /* Sectors/Track */
diff --git a/games-emulation/xmess/xmess-0.106.ebuild b/games-emulation/xmess/xmess-0.106.ebuild
index 3cc08abbf68c..f2a9d21133c7 100644
--- a/games-emulation/xmess/xmess-0.106.ebuild
+++ b/games-emulation/xmess/xmess-0.106.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.106.ebuild,v 1.11 2009/11/10 21:12:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.106.ebuild,v 1.12 2011/06/30 10:25:56 tupone Exp $
+EAPI=2
inherit flag-o-matic toolchain-funcs eutils games
@@ -56,12 +57,9 @@ toggle_feature2() {
use $1 && toggle_feature $2 $3
}
-src_unpack() {
+src_prepare() {
local mycpu
- unpack ${A}
- cd "${S}"
-
case ${ARCH} in
x86) mycpu="i386";;
ia64) mycpu="ia64";;
@@ -143,6 +141,7 @@ EOF
-e 's/doinstallsuid/doinstall/' \
-e '/^QUIET/s:^:#:' src/unix/unix.mak \
|| die "sed src/unix/unix.mak failed"
+ epatch "${FILESDIR}"/${P}-overflow.patch
}
src_compile() {