diff options
author | wiz <wiz@pkgsrc.org> | 2006-02-21 22:44:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-02-21 22:44:53 +0000 |
commit | b578c47004baba78858e5210616c2af893abdd33 (patch) | |
tree | 7ecb20a5ed44d4a7b3b519ff74e9e717dc4ca50b /games/bomberclone | |
parent | c187dc1640e4c266b21d66dc85236966c963346d (diff) | |
download | pkgsrc-b578c47004baba78858e5210616c2af893abdd33.tar.gz |
Add patches for fixing
http://www.gentoo.org/security/en/glsa/glsa-200602-09.xml
from Gentoo.
Diffstat (limited to 'games/bomberclone')
-rw-r--r-- | games/bomberclone/Makefile | 4 | ||||
-rw-r--r-- | games/bomberclone/distinfo | 4 | ||||
-rw-r--r-- | games/bomberclone/patches/patch-ac | 26 | ||||
-rw-r--r-- | games/bomberclone/patches/patch-ad | 17 |
4 files changed, 48 insertions, 3 deletions
diff --git a/games/bomberclone/Makefile b/games/bomberclone/Makefile index 4ec9f89ff2d..95d2bfbf029 100644 --- a/games/bomberclone/Makefile +++ b/games/bomberclone/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2006/02/05 23:09:12 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2006/02/21 22:44:53 wiz Exp $ DISTNAME= bomberclone-0.11.6 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bomberclone/} EXTRACT_SUFX= .tar.bz2 diff --git a/games/bomberclone/distinfo b/games/bomberclone/distinfo index 3654a9d6758..403d5392db5 100644 --- a/games/bomberclone/distinfo +++ b/games/bomberclone/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.9 2005/03/31 11:41:20 wiz Exp $ +$NetBSD: distinfo,v 1.10 2006/02/21 22:44:53 wiz Exp $ SHA1 (bomberclone-0.11.6.tar.bz2) = 4be64d9b1c4bc94a358702ae512598014acf8239 RMD160 (bomberclone-0.11.6.tar.bz2) = 28e8a13c013e9a60c0b7420b539bc5c2d4547505 Size (bomberclone-0.11.6.tar.bz2) = 7916944 bytes SHA1 (patch-aa) = b80396a7ad0a9e2fc1a4b32a4da845f07cbf28a7 SHA1 (patch-ab) = 5f4d7769d12042271226123abd763d85e1aff196 +SHA1 (patch-ac) = dd7e54f9de35709fd0d9087a13b307e94416d42a +SHA1 (patch-ad) = d87cc4bfcdbccf2f1c173ab10f6f30738e37a32a diff --git a/games/bomberclone/patches/patch-ac b/games/bomberclone/patches/patch-ac new file mode 100644 index 00000000000..4f468ea03a8 --- /dev/null +++ b/games/bomberclone/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1 2006/02/21 22:44:53 wiz Exp $ + +From http://dev.gentoo.org/~plasmaroo/stuff/bomberclone-fix-kaboom.patch +fixing http://www.gentoo.org/security/en/glsa/glsa-200602-09.xml +(part 1). + +--- src/menu.c.orig 2005-03-27 03:31:50.000000000 +0200 ++++ src/menu.c +@@ -629,7 +629,7 @@ menu_displaymessage (char *title, char * + memset (text, 0, sizeof (text)); + memset (out, 0, sizeof (out)); + va_start (args, fmt); +- vsprintf (text, fmt, args); ++ vsnprintf (text, 512, fmt, args); + va_end (args); + + menu_formattext (text, out, lines, &linenr, &maxlinelen, MENU_MESSAGES_MAXLINELEN, +@@ -722,7 +722,7 @@ menu_displaytext (char *title, char *fmt + memset (text, 0, sizeof (text)); + memset (out, 0, sizeof (out)); + va_start (args, fmt); +- vsprintf (text, fmt, args); ++ vsnprintf (text, 512, fmt, args); + va_end (args); + + menu_formattext (text, out, lines, &linenr, &maxlinelen, MENU_MESSAGES_MAXLINELEN, diff --git a/games/bomberclone/patches/patch-ad b/games/bomberclone/patches/patch-ad new file mode 100644 index 00000000000..be3afb51d7d --- /dev/null +++ b/games/bomberclone/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2006/02/21 22:44:53 wiz Exp $ + +From http://dev.gentoo.org/~plasmaroo/stuff/bomberclone-fix-kaboom.patch +fixing http://www.gentoo.org/security/en/glsa/glsa-200602-09.xml +(part 2). + +--- src/menulabels.c.orig 2004-09-12 18:49:48.000000000 +0200 ++++ src/menulabels.c +@@ -72,7 +72,7 @@ void menu_create_text (_menu *menu, char + memset (text, 0, sizeof (text)); + memset (out, 0, sizeof (out)); + va_start (args, fmt); +- vsprintf (text, fmt, args); ++ vsnprintf (text, 1024, fmt, args); + va_end (args); + + menu_formattext (text, out, lineptr, &linecnt, &maxchar, maxlen, maxlines); |