[med-svn] r23693 - in trunk/packages/zhanglab/edtsurf/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Mon Feb 27 15:00:14 UTC 2017


Author: tille
Date: 2017-02-27 15:00:12 +0000 (Mon, 27 Feb 2017)
New Revision: 23693

Added:
   trunk/packages/zhanglab/edtsurf/trunk/debian/patches/fix-use-of-unsigned-char.patch
Modified:
   trunk/packages/zhanglab/edtsurf/trunk/debian/changelog
   trunk/packages/zhanglab/edtsurf/trunk/debian/patches/series
Log:
Fix use of unsigned char declarations


Modified: trunk/packages/zhanglab/edtsurf/trunk/debian/changelog
===================================================================
--- trunk/packages/zhanglab/edtsurf/trunk/debian/changelog	2017-02-24 10:37:43 UTC (rev 23692)
+++ trunk/packages/zhanglab/edtsurf/trunk/debian/changelog	2017-02-27 15:00:12 UTC (rev 23693)
@@ -1,3 +1,14 @@
+edtsurf (0.2009-4) unstable; urgency=medium
+
+  [ John Paul Adrian Glaubitz ]
+  * debian/patches/fix-use-of-unsigned-char.patch:
+    - Add patch to fix use of unsigned char (Closes: #856233)
+
+  [ Andreas Tille ]
+  * moved debian/upstream to debian/upstream/metadata
+
+ -- Andreas Tille <tille at debian.org>  Mon, 27 Feb 2017 15:50:54 +0100
+
 edtsurf (0.2009-3) unstable; urgency=medium
 
   * Fix Vcs URL subdirectory

Added: trunk/packages/zhanglab/edtsurf/trunk/debian/patches/fix-use-of-unsigned-char.patch
===================================================================
--- trunk/packages/zhanglab/edtsurf/trunk/debian/patches/fix-use-of-unsigned-char.patch	                        (rev 0)
+++ trunk/packages/zhanglab/edtsurf/trunk/debian/patches/fix-use-of-unsigned-char.patch	2017-02-27 15:00:12 UTC (rev 23693)
@@ -0,0 +1,35 @@
+Author: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
+Last-Update: Mon, 27 Feb 2017 12:55:30 +0100
+Description: Fix use of unsigned char declarations
+
+--- a/CommonPara.h
++++ b/CommonPara.h
+@@ -44,7 +44,7 @@ static unsigned char mycolor[19][4]={128
+ 128,255,128,220,   128,128,255,220,   255,0,128,220,   
+ 128,128, 0,220,    128,255,0,220,     128,0,128,220,
+ 	};
+-static char nb[26][3]={1,0,0, -1,0,0, 0,1,0, 0,-1,0, 0,0,1, 0,0,-1, 
++static int nb[26][3]={1,0,0, -1,0,0, 0,1,0, 0,-1,0, 0,0,1, 0,0,-1, 
+ 1,1,0, 1,-1,0, -1,1,0, -1,-1,0, 1,0,1, 1,0,-1, -1,0,1, -1,0,-1, 0,1,1, 0,1,-1, 0,-1,1, 0,-1,-1,
+ 1,1,1, 1,1,-1, 1,-1,1, -1,1,1, 1,-1,-1, -1,-1,1, -1,1,-1, -1,-1,-1};
+ static double asarea2[]= {
+--- a/ProteinSurface.h
++++ b/ProteinSurface.h
+@@ -22,7 +22,7 @@ static const char vcmcoffset[8][3] =
+ 	{0, 0, 0},{1, 0, 0},{0, 1, 0},{1, 1, 0},
+ 	{0,0, 1},{1, 0, 1},{0, 1, 1},{1, 1, 1}
+ };
+-static const char vcmctable[256][10]=
++static const int vcmctable[256][10]=
+ {
+ 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,//0 0 0 0 0 0 0 0 0   0 oka
+ 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,//1 0 0 0 0 0 0 0 1   1 okb
+@@ -312,7 +312,7 @@ static const int aiCubeEdgeFlags[256]=
+     0xe90, 0xf99, 0xc93, 0xd9a, 0xa96, 0xb9f, 0x895, 0x99c, 0x69c, 0x795, 0x49f, 0x596, 0x29a, 0x393, 0x099, 0x190, 
+     0xf00, 0xe09, 0xd03, 0xc0a, 0xb06, 0xa0f, 0x905, 0x80c, 0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x000
+ };
+-static const char a2iTriangleConnectionTable[256][16] =  
++static const int a2iTriangleConnectionTable[256][16] =  
+ {
+         {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
+         {0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},

Modified: trunk/packages/zhanglab/edtsurf/trunk/debian/patches/series
===================================================================
--- trunk/packages/zhanglab/edtsurf/trunk/debian/patches/series	2017-02-24 10:37:43 UTC (rev 23692)
+++ trunk/packages/zhanglab/edtsurf/trunk/debian/patches/series	2017-02-27 15:00:12 UTC (rev 23693)
@@ -1 +1,2 @@
 CFLAGS_missing_in_Makefile.patch
+fix-use-of-unsigned-char.patch




More information about the debian-med-commit mailing list