[Pkg-emboss-commits] r90 - emboss/trunk/debian/patches

charles-guest at alioth.debian.org charles-guest at alioth.debian.org
Tue Jul 31 15:32:14 UTC 2007


Author: charles-guest
Date: 2007-07-31 15:32:14 +0000 (Tue, 31 Jul 2007)
New Revision: 90

Added:
   emboss/trunk/debian/patches/psiphi-fix-2007-07-27.patch
Modified:
   emboss/trunk/debian/patches/series
Log:
New upstream patch

Added: emboss/trunk/debian/patches/psiphi-fix-2007-07-27.patch
===================================================================
--- emboss/trunk/debian/patches/psiphi-fix-2007-07-27.patch	                        (rev 0)
+++ emboss/trunk/debian/patches/psiphi-fix-2007-07-27.patch	2007-07-31 15:32:14 UTC (rev 90)
@@ -0,0 +1,23 @@
+Index: EMBOSS-5.0.0/emboss/psiphi.c
+===================================================================
+--- EMBOSS-5.0.0.orig/emboss/psiphi.c
++++ EMBOSS-5.0.0/emboss/psiphi.c
+@@ -160,7 +160,7 @@
+     finishres = ajAcdGetInt("finishresiduenumber");
+ 
+     /* reserve memory for and read in structure */
+-    /* JISON */    pdb = ajPdbReadoldNew(pdbfile);
++    /* JISON */    pdb = ajPdbReadNew(pdbfile,0);
+     
+     /* check and set number of chain to be analysed */
+     highest = pdb->Nchn;
+@@ -440,6 +440,9 @@
+     ajint lowestres = 0;
+ 
+     AjPAtom inlist   = NULL;
++
++    if(!ajListGetLength(pdb->Chains[myindex]->Atoms))
++	ajFatal("Chain %d has no atoms",myindex+1);
+     
+     /* read first atom in list into memory, but keep it on list */
+     ajListPeek(pdb->Chains[myindex]->Atoms,

Modified: emboss/trunk/debian/patches/series
===================================================================
--- emboss/trunk/debian/patches/series	2007-07-31 15:15:21 UTC (rev 89)
+++ emboss/trunk/debian/patches/series	2007-07-31 15:32:14 UTC (rev 90)
@@ -0,0 +1 @@
+psiphi-fix-2007-07-27.patch




More information about the Pkg-emboss-commits mailing list