pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/xpipeman



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Jan 30 18:42:47 UTC 2021

Modified Files:
        pkgsrc/games/xpipeman: Makefile distinfo
        pkgsrc/games/xpipeman/patches: patch-ad

Log Message:
games/xpipeman: fix buffer overflow when starting the game


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/games/xpipeman/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/xpipeman/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/xpipeman/patches/patch-ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/xpipeman/Makefile
diff -u pkgsrc/games/xpipeman/Makefile:1.23 pkgsrc/games/xpipeman/Makefile:1.24
--- pkgsrc/games/xpipeman/Makefile:1.23 Sun Jan 14 17:34:02 2018
+++ pkgsrc/games/xpipeman/Makefile      Sat Jan 30 18:42:47 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2018/01/14 17:34:02 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2021/01/30 18:42:47 rillig Exp $
 #
 
 DISTNAME=      xpipeman-1.5
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    games x11
 MASTER_SITES=  ${MASTER_SITE_SUNSITE:=games/strategy/}
 

Index: pkgsrc/games/xpipeman/distinfo
diff -u pkgsrc/games/xpipeman/distinfo:1.7 pkgsrc/games/xpipeman/distinfo:1.8
--- pkgsrc/games/xpipeman/distinfo:1.7  Tue Nov  3 20:57:09 2015
+++ pkgsrc/games/xpipeman/distinfo      Sat Jan 30 18:42:47 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 20:57:09 agc Exp $
+$NetBSD: distinfo,v 1.8 2021/01/30 18:42:47 rillig Exp $
 
 SHA1 (xpipeman-1.5.tar.gz) = 065ec572f7be019737e2bb9ed131bc907c713cc5
 RMD160 (xpipeman-1.5.tar.gz) = 9668409dadf70bf5bf4a546a3340846191937c74
@@ -8,6 +8,6 @@ SHA1 (patch-aa) = a0b3eebec3488cc4201ceb
 SHA1 (patch-ab) = 43bea8141e49a300402d435d4858ec61284efa52
 SHA1 (patch-ac) = d0c388585988208e47b69dcaa1131870f74676a1
 SHA1 (patch-actions.c) = a404f799157e49b0a756aa2adece2dac0c895acf
-SHA1 (patch-ad) = a01454631c6664798e85fb7a1599ab61dff653e2
+SHA1 (patch-ad) = 4bce754ef1ab5d613b535ec7b08be465ee76cd5f
 SHA1 (patch-ae) = 850a1d6d46df30303021d09b62879e0d7b3d960b
 SHA1 (patch-af) = fe20d1ef815c10a1130ac0bfeef5802dc9a8a1fe

Index: pkgsrc/games/xpipeman/patches/patch-ad
diff -u pkgsrc/games/xpipeman/patches/patch-ad:1.3 pkgsrc/games/xpipeman/patches/patch-ad:1.4
--- pkgsrc/games/xpipeman/patches/patch-ad:1.3  Fri Jan 20 17:06:52 2012
+++ pkgsrc/games/xpipeman/patches/patch-ad      Sat Jan 30 18:42:47 2021
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.3 2012/01/20 17:06:52 joerg Exp $
+$NetBSD: patch-ad,v 1.4 2021/01/30 18:42:47 rillig Exp $
 
 --- main.c.orig        1991-09-13 20:32:10.000000000 +0000
 +++ main.c
@@ -83,3 +83,12 @@ $NetBSD: patch-ad,v 1.3 2012/01/20 17:06
    cleargc = XCreateGC(display, playfield,
                 GCForeground | GCBackground | GCFunction, &gcv);
  
+@@ -318,7 +320,7 @@ void
+ update_remain(score)
+   int score;
+ {
+-  char text[13];
++  char text[16];
+   (void)sprintf(text,"Remaining: %4d",score);
+   XtSetArg(arglistremain_command[0],XtNlabel,text);
+   XtSetValues(remain_command,arglistremain_command,1);



Home | Main Index | Thread Index | Old Index