summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-11-03 08:56:15 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-11-03 08:56:15 +0000
commit4e549ed0c3eb68b93b3360359ef891f4e08a36b7 (patch)
treeb97491a9676fa9989bc768b6e142ae901b85747f /games-action
parentherd corrected in metadata (diff)
downloadhistorical-4e549ed0c3eb68b93b3360359ef891f4e08a36b7.tar.gz
historical-4e549ed0c3eb68b93b3360359ef891f4e08a36b7.tar.bz2
historical-4e549ed0c3eb68b93b3360359ef891f4e08a36b7.zip
Fix overflow. Bug #339107
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'games-action')
-rw-r--r--games-action/supertuxkart/ChangeLog6
-rw-r--r--games-action/supertuxkart/Manifest5
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch11
-rw-r--r--games-action/supertuxkart/supertuxkart-0.6.2.ebuild3
4 files changed, 21 insertions, 4 deletions
diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog
index a54d21eaa368..8198ec1cbe16 100644
--- a/games-action/supertuxkart/ChangeLog
+++ b/games-action/supertuxkart/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/supertuxkart
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.20 2010/09/16 17:51:16 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.21 2010/11/03 08:56:15 tupone Exp $
+
+ 03 Nov 2010; Alfredo Tupone <tupone@gentoo.org> supertuxkart-0.6.2.ebuild,
+ +files/supertuxkart-0.6.2-ovflfix.patch:
+ Fix overflow. Bug #339107 by flameeyes@gentoo.org
16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
supertuxkart-0.6.2.ebuild:
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest
index fcb6d795188b..913a93a499b3 100644
--- a/games-action/supertuxkart/Manifest
+++ b/games-action/supertuxkart/Manifest
@@ -1,5 +1,6 @@
+AUX supertuxkart-0.6.2-ovflfix.patch 499 RMD160 c9f6b62d3fd4f3d32618cd4f2cc938e8ee161412 SHA1 f5809742a277f1ae40834b3d337dfe40d4b2f025 SHA256 e60d082e8a3b819a3290696333c97b2090e2a6abd4b1830fa6bd23265c5c9909
DIST supertuxkart-0.6.2-src.tar.bz2 96469878 RMD160 c4946c1ae4df7254a49d218fc39b2dde8b7cfad5 SHA1 58ee28a74540f81649274147f657a23caf0acaab SHA256 081286efecdda07aab5b567728ef70188fe15f4cef174c785f76045d48394a34
DIST supertuxkart.png 4435 RMD160 9b20e00cc1f4c2d50f6ec192881a672d95189099 SHA1 0f97ba6cdf0b8abffb39a44e5e654c76848fe366 SHA256 99bc1801cb0514946cb0171d6d5a84484b6dc881edfa7f096b6eb5fea2f28828
-EBUILD supertuxkart-0.6.2.ebuild 1866 RMD160 7787ebd84bd402953b988e24a2b4159f9742c485 SHA1 28480cc1c261bf42f8f4d780c494317e5be4510f SHA256 7e00518a87293252e2249105dc4bef3183f8a7a26ec5f318c46f77279d0d66c8
-MISC ChangeLog 2674 RMD160 669ae37724f174b4eb29aa2fac4aadd159d4f61d SHA1 921f557252ac2b0c054053580dcf3e5dd0a1f7b7 SHA256 e1a63b085043a5b1a6611eb4cc3b0d565cbe431b57e3497774ce4543c74e6c2d
+EBUILD supertuxkart-0.6.2.ebuild 1904 RMD160 cf1c901ebee937a4b34619c4b830c138811bf571 SHA1 80d014c2f4b484a005d7ec9691d43cd252f9679f SHA256 a0c47459cd30bc4320a8c2230fbd9e42c8851fc3e5060c2bfaba9db46696b7bf
+MISC ChangeLog 2844 RMD160 22b17d90908b3affbfd370fc82c628a2372afba5 SHA1 af808391d7f506320b248f988c8c55b9952c6cd0 SHA256 40afec524345d4414e6e61596b7e7467107b0beda5709c4850121a7b7bfd2feb
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch b/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch
new file mode 100644
index 000000000000..5352683d67d3
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-0.6.2-ovflfix.patch
@@ -0,0 +1,11 @@
+--- src/gui/display_res_confirm.cpp.old 2010-11-03 09:35:21.000000000 +0100
++++ src/gui/display_res_confirm.cpp 2010-11-03 09:35:49.000000000 +0100
+@@ -107,7 +107,7 @@
+ if (m_counter > 1)
+ {
+ m_counter--;
+- snprintf(m_count, MAX_MESSAGE_LENGTH, _("Confirm Resolution Within %d Seconds"), m_counter);
++ snprintf(m_count, sizeof(m_count), _("Confirm Resolution Within %d Seconds"), m_counter);
+ widget_manager->setWgtText( WTOK_TITLE, m_count );
+ }
+ else
diff --git a/games-action/supertuxkart/supertuxkart-0.6.2.ebuild b/games-action/supertuxkart/supertuxkart-0.6.2.ebuild
index 07b86f5a5570..ce892e2768b7 100644
--- a/games-action/supertuxkart/supertuxkart-0.6.2.ebuild
+++ b/games-action/supertuxkart/supertuxkart-0.6.2.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-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.8 2010/09/16 17:51:16 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.9 2010/11/03 08:56:15 tupone Exp $
EAPI=2
inherit autotools eutils games
@@ -58,6 +58,7 @@ src_prepare() {
data/Makefile.am \
|| die "sed failed"
rm -rf src/enet
+ epatch "${FILESDIR}"/${P}-ovflfix.patch
eautoreconf
}