summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-10-14 04:40:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-10-14 04:40:47 +0000
commit90eede48d4b17cc7e4a2a956e6590311d1632890 (patch)
tree1d9c280dd8083b2b17fb0f6a9ddf7992890f6a78 /games-action
parentold (diff)
downloadhistorical-90eede48d4b17cc7e4a2a956e6590311d1632890.tar.gz
historical-90eede48d4b17cc7e4a2a956e6590311d1632890.tar.bz2
historical-90eede48d4b17cc7e4a2a956e6590311d1632890.zip
add sed patches from Kevin Pyle for bug #340909
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r--games-action/trackballs/ChangeLog8
-rw-r--r--games-action/trackballs/Manifest4
-rw-r--r--games-action/trackballs/trackballs-1.1.4.ebuild16
3 files changed, 22 insertions, 6 deletions
diff --git a/games-action/trackballs/ChangeLog b/games-action/trackballs/ChangeLog
index 1a66ea3ae438..427312a64753 100644
--- a/games-action/trackballs/ChangeLog
+++ b/games-action/trackballs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/trackballs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.25 2009/11/07 18:39:22 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.26 2010/10/14 04:40:47 mr_bones_ Exp $
+
+ 14 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ trackballs-1.1.4.ebuild:
+ add sed patches from Kevin Pyle for bug #340909
07 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org>
trackballs-1.1.4.ebuild:
diff --git a/games-action/trackballs/Manifest b/games-action/trackballs/Manifest
index 3e8ca752e76b..66322e777614 100644
--- a/games-action/trackballs/Manifest
+++ b/games-action/trackballs/Manifest
@@ -1,5 +1,5 @@
DIST trackballs-1.1.4.tar.gz 7229541 RMD160 6f3873fcfcbbc2cb13b491309a1c2f31333fc9c0 SHA1 4e9ff49c455383aad536daf285e34010a33cc516 SHA256 459dbaec27354fb4afff3d1aa491bc21b4fc2c0769eae86a47aaeb545cb434a6
DIST trackballs-music-1.4.tar.bz2 18825033 RMD160 07f000e6d11f02eb1ec1835a7e7535fa68794e06 SHA1 3b7e6e4f8a1ce155ea627666542f16f487fbd71f SHA256 bf9b793b6fab81e59fb9a373944a5724af279b0faebb2461bb98beb5aa466058
-EBUILD trackballs-1.1.4.ebuild 1478 RMD160 bfbd5b49a5f81fd275a584bf85cd0a2fa93db0d7 SHA1 a3ce149f5e69ec57e02050c66cdcd8e41d83ce37 SHA256 4820827246d307ed924c1e4084744a5dab8e7f2929f4cccf59904401b0863a59
-MISC ChangeLog 3424 RMD160 a265c5fea8e9e7fe7640acfa7e2bfa42abeb364a SHA1 89419fca2cd6801d47d0321b3321faed5d745b84 SHA256 2f3cff5329f87cd841ba8be69a7e9e96f250591b57be02114d61a3e9d929d272
+EBUILD trackballs-1.1.4.ebuild 2067 RMD160 211689ad249dd0046c1c6532df3c5ffbaea0fafa SHA1 f1577514e5a732d27ca699cc787cf7946d051891 SHA256 ac6ab9089d2f922d5f61ccd12dc19843ad493aaf52fef8640ba22811d3ab4781
+MISC ChangeLog 3557 RMD160 f73ea4d771ca1c41981d49c12179c0c4cfb79e92 SHA1 1b22b3590af7968b43dd4fb01f57bea0dd7e6056 SHA256 139f7a1dc04e043531c67def9704324d5571c70e98bd6b91c1a95e1f4ad17734
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/trackballs/trackballs-1.1.4.ebuild b/games-action/trackballs/trackballs-1.1.4.ebuild
index f3d83ab7d5dc..71022eff6a20 100644
--- a/games-action/trackballs/trackballs-1.1.4.ebuild
+++ b/games-action/trackballs/trackballs-1.1.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/trackballs-1.1.4.ebuild,v 1.6 2009/11/07 18:39:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/trackballs-1.1.4.ebuild,v 1.7 2010/10/14 04:40:47 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -35,6 +35,18 @@ src_prepare() {
src/Makefile.in \
po/Makefile.in.in \
|| die "sed failed"
+ # Fix _FORTIFY_SOURCE buffer overflow due to wrong sizeof
+ sed -i \
+ -e 's/\(snprintf(\(name\),sizeof\)(str)/\1(\2)/' \
+ src/enterHighScoreMode.cc || die
+ # Fix -Wformat-security warning due to non-literal with no format arguments
+ sed -i \
+ -e 's/\(snprintf(levelname,sizeof(levelname),\)\(name)\)/\1 "%s", \2/' \
+ -e 's/\(snprintf(Settings::settings->specialLevel,sizeof(Settings::settings->specialLevel),\)\(levelname)\)/\1 "%s", \2/' \
+ src/editMode.cc || die
+ sed -i \
+ -e 's/\(snprintf(\(textureName\),\)63\(,textureNames\[i\])\)/\1 sizeof(\2), "%s"\3/' \
+ src/map.cc || die
}
src_configure() {