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

Bug#861397: jessie-pu: package xshisen/1:1.51-4.1+deb8u1



Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

diffstat for xshisen-1.51 xshisen-1.51

 changelog                  |    9 +++++++++
 control                    |    6 +++---
 patches/fix_segfault.patch |   33 +++++++++++++++++++++++++++++++++
 patches/series             |    1 +
 4 files changed, 46 insertions(+), 3 deletions(-)

diff -Nru xshisen-1.51/debian/changelog xshisen-1.51/debian/changelog
--- xshisen-1.51/debian/changelog	2013-10-27 21:46:53.000000000 +0200
+++ xshisen-1.51/debian/changelog	2017-04-28 14:57:38.000000000 +0300
@@ -1,3 +1,12 @@
+xshisen (1:1.51-4.1+deb8u1) jessie; urgency=medium
+
+  * QA upload.
+  * Set maintainer to the QA team.
+  * Fix frequent segfault on start, thanks Alexey Shilin.
+    (Closes: #765504)
+
+ -- Adrian Bunk <bunk@debian.org>  Fri, 28 Apr 2017 14:54:37 +0300
+
 xshisen (1:1.51-4.1) unstable; urgency=low
 
   [ Paul Gevers ]
diff -Nru xshisen-1.51/debian/control xshisen-1.51/debian/control
--- xshisen-1.51/debian/control	2013-10-27 20:30:37.000000000 +0200
+++ xshisen-1.51/debian/control	2017-04-28 14:53:34.000000000 +0300
@@ -1,12 +1,12 @@
 Source: xshisen
 Section: games
 Priority: optional
-Maintainer: Zak B. Elep <zakame@zakame.net>
+Maintainer: Debian QA Group <packages@qa.debian.org>
 Build-Depends: autotools-dev, debhelper (>= 9), libmotif-dev, libx11-dev, libxmu-dev, libxpm-dev, libxt-dev, libxaw7-dev, xutils-dev
 Standards-Version: 3.9.3
 Homepage: http://www.techfirm.co.jp/~masaoki/xshisen.html
-Vcs-Browser: https://github.com/zakame/debian-pkg-xshisen
-Vcs-Git: git://github.com/zakame/debian-pkg-xshisen.git
+#Vcs-Browser: https://github.com/zakame/debian-pkg-xshisen
+#Vcs-Git: git://github.com/zakame/debian-pkg-xshisen.git
 
 Package: xshisen
 Architecture: any
diff -Nru xshisen-1.51/debian/patches/fix_segfault.patch xshisen-1.51/debian/patches/fix_segfault.patch
--- xshisen-1.51/debian/patches/fix_segfault.patch	1970-01-01 02:00:00.000000000 +0200
+++ xshisen-1.51/debian/patches/fix_segfault.patch	2017-04-28 14:53:34.000000000 +0300
@@ -0,0 +1,33 @@
+--- xshisen-1.51.orig/body.C
++++ xshisen-1.51/body.C
+@@ -53,6 +53,7 @@ Body::Body(int g, int x, int y, Widget p
+         piepos[i] = new PiePos(num_each);
+     }
+     clearqueue = 0;
++    hintArray  = NULL;
+     hintNum    = 0;
+     pause      = 0;
+     if (game >= NUM_GAME*2)
+@@ -227,8 +228,6 @@ Body::refreshhint(void)
+     p = new Point[max_c][2];
+     t = new Point[xsize*ysize/PKIND];
+ 
+-    if (hintNum == 0)
+-        delete[] hintArray;
+     for(int i=0; i<PKIND; i++) {
+         piepos[i]->GetPosArray(t, num);
+         for(int j=0; j<num; j++)
+@@ -250,10 +249,12 @@ Body::refreshhint(void)
+ #endif
+     hintNum = c;
+     currentHintNum = 0;
++    delete[] hintArray;
+     if (c != 0) {
+         hintArray = new Point [c*2];
+         memcpy(hintArray, p, c*2*sizeof(Point));
+-    }
++    } else
++        hintArray = NULL;
+     delete[] p;
+     delete[] t;
+ }
diff -Nru xshisen-1.51/debian/patches/series xshisen-1.51/debian/patches/series
--- xshisen-1.51/debian/patches/series	2013-10-27 20:14:44.000000000 +0200
+++ xshisen-1.51/debian/patches/series	2017-04-28 14:53:34.000000000 +0300
@@ -7,3 +7,4 @@
 0007-Fix-version-number-in-resources.patch
 0008-Fix-FTBFS-with-gcc-4.7-by-using-this-foo-where-neede.patch
 0009-fix-xshisen-manpage-typos.patch
+fix_segfault.patch


Reply to: