pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/bomberclone Add patches for fixing
details: https://anonhg.NetBSD.org/pkgsrc/rev/9cefdf1f2f15
branches: trunk
changeset: 508587:9cefdf1f2f15
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Feb 21 22:44:53 2006 +0000
description:
Add patches for fixing
http://www.gentoo.org/security/en/glsa/glsa-200602-09.xml
from Gentoo.
diffstat:
games/bomberclone/Makefile | 4 ++--
games/bomberclone/distinfo | 4 +++-
games/bomberclone/patches/patch-ac | 26 ++++++++++++++++++++++++++
games/bomberclone/patches/patch-ad | 17 +++++++++++++++++
4 files changed, 48 insertions(+), 3 deletions(-)
diffs (78 lines):
diff -r a1182dd694ff -r 9cefdf1f2f15 games/bomberclone/Makefile
--- a/games/bomberclone/Makefile Tue Feb 21 22:44:25 2006 +0000
+++ b/games/bomberclone/Makefile Tue Feb 21 22:44:53 2006 +0000
@@ -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 -r a1182dd694ff -r 9cefdf1f2f15 games/bomberclone/distinfo
--- a/games/bomberclone/distinfo Tue Feb 21 22:44:25 2006 +0000
+++ b/games/bomberclone/distinfo Tue Feb 21 22:44:53 2006 +0000
@@ -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 -r a1182dd694ff -r 9cefdf1f2f15 games/bomberclone/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bomberclone/patches/patch-ac Tue Feb 21 22:44:53 2006 +0000
@@ -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 -r a1182dd694ff -r 9cefdf1f2f15 games/bomberclone/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bomberclone/patches/patch-ad Tue Feb 21 22:44:53 2006 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index