[med-svn] r5105 - trunk/packages/autodocksuite/trunk/debian/patches

Steffen Möller moeller at alioth.debian.org
Wed Aug 4 23:40:57 UTC 2010


Author: moeller
Date: 2010-08-04 23:40:56 +0000 (Wed, 04 Aug 2010)
New Revision: 5105

Added:
   trunk/packages/autodocksuite/trunk/debian/patches/const_manual_85.patch
   trunk/packages/autodocksuite/trunk/debian/patches/const_manual_90.patch
Modified:
   trunk/packages/autodocksuite/trunk/debian/patches/series
Log:
And yet another seies of const inserions.


Added: trunk/packages/autodocksuite/trunk/debian/patches/const_manual_85.patch
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/const_manual_85.patch	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/patches/const_manual_85.patch	2010-08-04 23:40:56 UTC (rev 5105)
@@ -0,0 +1,189 @@
+Index: autodocksuite-4.2.3/autodock/dimLibrary.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/dimLibrary.cc	2010-08-04 22:56:09.000000000 +0200
++++ autodocksuite-4.2.3/autodock/dimLibrary.cc	2010-08-04 23:07:09.000000000 +0200
+@@ -10,7 +10,7 @@
+ extern FILE *logFile;
+ 
+ 
+-void copyDimension( State *S, Position R)
++void copyDimension( /* not const */ State *const S, const Position R)
+ {
+         register int i, j;
+         S->T.x = R.x[0];
+@@ -27,7 +27,7 @@
+ }
+ 
+ 
+-void copyState2Dimension(Position *R , State S)
++void copyState2Dimension(Position *const R , const State S)
+ {
+         register int i, j;
+ 	R->x[0] = S.T.x;
+@@ -44,7 +44,7 @@
+ }
+ 
+ 
+-void initialiseDimension(GridMapSetInfo * info,  double *xmin, double *xmax, int D)
++void initialiseDimension(const GridMapSetInfo *const info,  /* not const */ double *const xmin, /* not const */ double *const xmax, const int D)
+ {
+ 	int d;
+ 
+@@ -88,7 +88,7 @@
+ }
+ 
+ 
+-void initialiseParticle(int s, int D, Position *Xi, Velocity *Vi, double *xmin, double *xmax, double *Vmin, double *Vmax)
++void initialiseParticle(const int s, const int D, /* not const */ Position *const Xi, /* not const */ Velocity *const Vi, const double *const xmin, const double *const xmax, double *const Vmin, double *const Vmax)
+ {
+         int d;
+ 	double temp;
+@@ -125,7 +125,7 @@
+     //printf("end initialiseParticle: s=%d, D=%d, Xi=%f  \n",s,D,*Xi);
+ }
+ 			
+-void swarmActivity(int S, int D, Position *Xi, int nb_eval, int outlev)
++void swarmActivity(const int S, const int D, const Position *const Xi, const int nb_eval, const int outlev)
+ {
+ 	int s, d;
+ 	double swarm_activity;
+Index: autodocksuite-4.2.3/autodock/dimLibrary.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/dimLibrary.h	2010-08-04 22:56:09.000000000 +0200
++++ autodocksuite-4.2.3/autodock/dimLibrary.h	2010-08-04 23:07:21.000000000 +0200
+@@ -9,13 +9,13 @@
+ //void initialiseState( State *S );
+ //void copyState( State *destination, State  source);
+ 
+-void copyDimension( State *S, Position R);
+-void copyState2Dimension( Position *R, State S);
++void copyDimension( /* not const */ State *const S, const Position R);
++void copyState2Dimension( /* not const */ Position *const R, const State S);
+ //void copyState2Dimension( Position R, State *S);
+-void initialiseDimension(GridMapSetInfo * info, double *xmin, double *xmax, int D);
++void initialiseDimension(const GridMapSetInfo *const info, /* not const */ double *const xmin, /* not const */ double *const xmax, const int D);
+ //void initialiseDimension(float xlo, float xhi, float ylo, float yhi, float zlo, float zhi, double *xmin, double *xmax, int D);
+-void initialiseParticle(int s, int D, Position *Xi, Velocity *Vi, double *xmin, double *xmax, double *Vmin, double *Vmax);
+-void swarmActivity(int S, int D, Position *Xi, int nb_eval, int outlev);
++void initialiseParticle(const int s, const int D, /* not const */ Position *const Xi, /* not const */ Velocity *const Vi, const double *const xmin, const double *const xmax, double *const Vmin, double *const Vmax);
++void swarmActivity(const int S, const int D, const Position *const Xi, const int nb_eval, const int outlev);
+ 
+ /*void printState( FILE *fp,
+ 		 State state, 
+Index: autodocksuite-4.2.3/autodock/distdepdiel.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/distdepdiel.cc	2010-08-04 23:04:41.000000000 +0200
++++ autodocksuite-4.2.3/autodock/distdepdiel.cc	2010-08-04 23:04:56.000000000 +0200
+@@ -28,7 +28,7 @@
+ #include "distdepdiel.h"
+ 
+ 
+-double calc_ddd_Mehler_Solmajer( double distance, double approx_zero ) {
++double calc_ddd_Mehler_Solmajer( const double distance, const double approx_zero ) {
+     /*____________________________________________________________________________
+      * Distance-dependent dielectric ewds: Mehler and Solmajer, Prot Eng 4, 903-910.
+      *____________________________________________________________________________*/
+Index: autodocksuite-4.2.3/autodock/distdepdiel.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/distdepdiel.h	2010-08-04 23:04:41.000000000 +0200
++++ autodocksuite-4.2.3/autodock/distdepdiel.h	2010-08-04 23:05:04.000000000 +0200
+@@ -28,6 +28,6 @@
+ #define _DISTDEPDIEL
+ 
+ 
+-double calc_ddd_Mehler_Solmajer( double distance, double aprrox_zero );
++double calc_ddd_Mehler_Solmajer( const double distance, const double aprrox_zero );
+ 
+ #endif
+Index: autodocksuite-4.2.3/autodock/parse_param_line.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/parse_param_line.cc	2010-08-04 23:11:42.000000000 +0200
++++ autodocksuite-4.2.3/autodock/parse_param_line.cc	2010-08-04 23:15:38.000000000 +0200
+@@ -36,7 +36,7 @@
+ extern int debug;
+ extern FILE *logFile;
+ 
+-int parse_param_line( const char line[LINE_LEN] )
++int parse_param_line( const char *const line)
+ 
+ /******************************************************************************/
+ /*      Name: parse_param_line                                                */
+@@ -76,7 +76,7 @@
+               }; // 7 tokens  // remember to set tokentablesize earlier
+ 
+     c[0] = '\0';
+-    for (j=0; ((line[j]!='\0')&&(line[j]!=' ')&&(line[j]!='\t')&&(line[j]!='\n')); j++) {
++    for (j=0; ((line[j]!='\0')&&(line[j]!=' ')&&(line[j]!='\t')&&(line[j]!='\n')); j++) { //FIXME: check on j<LINE_LEN missing
+         /*  Ignore case */
+         c[j] = (char)tolower((int)line[j]);
+         if (debug > 0) {
+Index: autodocksuite-4.2.3/autodock/parse_param_line.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/parse_param_line.h	2010-08-04 23:11:43.000000000 +0200
++++ autodocksuite-4.2.3/autodock/parse_param_line.h	2010-08-04 23:14:37.000000000 +0200
+@@ -28,6 +28,6 @@
+ #define PARSE_PAR_LINE
+ 
+ #include "constants.h"
+-int  parse_param_line( const char  line[LINE_LEN] );
++int  parse_param_line( const char  *const line);
+ 
+ #endif
+Index: autodocksuite-4.2.3/autodock/read_parameter_library.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/read_parameter_library.cc	2010-08-04 23:07:50.000000000 +0200
++++ autodocksuite-4.2.3/autodock/read_parameter_library.cc	2010-08-04 23:32:10.000000000 +0200
+@@ -71,7 +71,8 @@
+     // remember this filename for report_parameter_library()
+     snprintf(parameter_library, sizeof parameter_library, "from file: \"%s\"", FN_parameter_library);
+     while (fgets(parameter_library_line, sizeof(parameter_library_line), parameter_library_file) != NULL) {
+-        param_keyword = parse_param_line( parameter_library_line );
++	char *const s = parameter_library_line;
++        param_keyword = parse_param_line("huhu");
+         if (debug > 0) {
+             pr(logFile, "DEBUG: parameter_library_line = %sDEBUG: param_keyword          = %d\n", parameter_library_line, param_keyword);
+         }
+@@ -209,7 +210,7 @@
+     // so far we have param_string_4_0 and param_string_4_1
+     // remember this choice for report_parameter_library()
+ 
+-    char ** param_string;
++    const char *const *param_string;
+     //if (string_begins_with(version_num, "4.0")) param_string=param_string_4_0;
+     if (unbound_model==Extended) {
+         param_string=param_string_4_0;
+@@ -226,7 +227,8 @@
+ 
+ 
+     while ( param_string[counter] != NULL) {
+-        param_keyword = parse_param_line( param_string[counter] );
++	const char* const s =  param_string[counter];
++        param_keyword = parse_param_line(s);
+ 
+         (void)strcpy(parameter_library_line, param_string[counter]);
+         counter++;
+Index: autodocksuite-4.2.3/autogrid/parse_param_line.cpp
+===================================================================
+--- autodocksuite-4.2.3.orig/autogrid/parse_param_line.cpp	2010-08-04 23:36:23.000000000 +0200
++++ autodocksuite-4.2.3/autogrid/parse_param_line.cpp	2010-08-04 23:36:34.000000000 +0200
+@@ -37,7 +37,7 @@
+ extern int debug;
+ extern FILE *logFile;
+ 
+-int parse_param_line( char line[LINE_LEN] )
++int parse_param_line( const char line[] )
+ 
+ /******************************************************************************/
+ /*      Name: parse_param_line                                                */
+Index: autodocksuite-4.2.3/autogrid/parse_param_line.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autogrid/parse_param_line.h	2010-08-04 23:36:06.000000000 +0200
++++ autodocksuite-4.2.3/autogrid/parse_param_line.h	2010-08-04 23:36:20.000000000 +0200
+@@ -28,6 +28,6 @@
+ #define PARSE_PAR_LINE
+ 
+ #include "constants.h"
+-int  parse_param_line( char  line[LINE_LEN] );
++int  parse_param_line( const char line[] );
+ 
+ #endif

Added: trunk/packages/autodocksuite/trunk/debian/patches/const_manual_90.patch
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/const_manual_90.patch	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/patches/const_manual_90.patch	2010-08-04 23:40:56 UTC (rev 5105)
@@ -0,0 +1,317 @@
+Index: autodocksuite-4.2.3/autodock/alea.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/alea.cc	2010-08-05 01:23:23.000000000 +0200
++++ autodocksuite-4.2.3/autodock/alea.cc	2010-08-05 01:23:44.000000000 +0200
+@@ -3,7 +3,7 @@
+ #include <sys/types.h>
+ #include <time.h>
+ 
+-double alea( double a, double b)
++double alea( const double a, const double b)
+ {
+ 	//random number (uniform distribution) in [a b]
+ 	double r ;
+@@ -13,7 +13,7 @@
+ }
+ 
+ 
+-int alea_integer(int a, int b)
++int alea_integer(const int a, const int b)
+ {
+ 	// Integer random number in [a b]
+ 	int ir;
+Index: autodocksuite-4.2.3/autodock/alea.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/alea.h	2010-08-05 01:23:12.000000000 +0200
++++ autodocksuite-4.2.3/autodock/alea.h	2010-08-05 01:23:53.000000000 +0200
+@@ -2,8 +2,8 @@
+ #include <math.h>
+ #include <stdlib.h>
+ 
+-double alea( double a, double b);
+-int alea_integer(int a, int b);
++double alea( const double a, const double b);
++int alea_integer(const int a, const int b);
+                                   
+ 
+ 
+Index: autodocksuite-4.2.3/autodock/analysis.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/analysis.cc	2010-08-05 01:24:05.000000000 +0200
++++ autodocksuite-4.2.3/autodock/analysis.cc	2010-08-05 01:34:13.000000000 +0200
+@@ -56,46 +56,47 @@
+ extern char  *programname;
+ extern int   true_ligand_atoms;
+ 
+-void analysis( int   Nnb, 
+-               char  atomstuff[MAX_ATOMS][MAX_CHARS], 
+-               Real charge[MAX_ATOMS], 
+-               Real abs_charge[MAX_ATOMS], 
+-               Real qsp_abs_charge[MAX_ATOMS], 
+-               Boole B_calcIntElec,
+-               Real clus_rms_tol, 
+-               Real crdpdb[MAX_ATOMS][SPACE], 
+-
+-               const EnergyTables *ptr_ad_energy_tables,
+-
+-               Real  map[MAX_GRID_PTS][MAX_GRID_PTS][MAX_GRID_PTS][MAX_MAPS], 
+-               Real  econf[MAX_RUNS], 
+-               int   irunmax, 
+-               int   natom, 
+-               NonbondParam *nonbondlist, 
+-               int   nconf, 
+-               int   ntor, 
+-               State hist[MAX_RUNS], 
+-               char  *smFileName, 
+-               Real  sml_center[SPACE],
+-               Boole B_symmetry_flag, 
+-               int   tlist[MAX_TORS][MAX_ATOMS], 
+-               int   type[MAX_ATOMS], 
+-               Real  vt[MAX_TORS][SPACE],
+-               char  *FN_rms_ref_crds,
+-               Real  torsFreeEnergy,
+-               Boole B_write_all_clusmem,
+-               int   ligand_is_inhibitor,
+-               int   outlev,
+-			   int   ignore_inter[MAX_ATOMS],
++void analysis( const int   Nnb, 
++               const char  atomstuff[MAX_ATOMS][MAX_CHARS], 
++               const Real charge[MAX_ATOMS], 
++               const Real abs_charge[MAX_ATOMS], 
++               const Real qsp_abs_charge[MAX_ATOMS], 
++               const Boole B_calcIntElec,
++               const Real clus_rms_tol, 
++               const Real crdpdb[MAX_ATOMS][SPACE], 
++
++               const EnergyTables *const ptr_ad_energy_tables,
++
++               //const
++               #include "map_declare.h"
++               const Real  econf[MAX_RUNS], 
++               const int   irunmax, 
++               const int   natom, 
++               const NonbondParam *nonbondlist, 
++               const int   nconf, 
++               const int   ntor, 
++               const State hist[MAX_RUNS], 
++               const char  *const smFileName, 
++               const Real  sml_center[SPACE],
++               const Boole B_symmetry_flag, 
++               const int   tlist[MAX_TORS][MAX_ATOMS], 
++               const int   type[MAX_ATOMS], 
++               const Real  vt[MAX_TORS][SPACE],
++               const char  *const FN_rms_ref_crds,
++               const Real  torsFreeEnergy,
++               const Boole B_write_all_clusmem,
++               const int   ligand_is_inhibitor,
++               const int   outlev,
++               const int   ignore_inter[MAX_ATOMS],
+                const Boole   B_include_1_4_interactions,
+                const Real scale_1_4,
+                const Real unbound_internal_FE,
+ 
+-               GridMapSetInfo *info,
+-               Boole B_use_non_bond_cutoff,
+-               Boole B_have_flexible_residues,
+-               Boole B_rms_atoms_ligand_only,
+-               Unbound_Model ad4_unbound_model
++               const GridMapSetInfo *const info,
++               const Boole B_use_non_bond_cutoff,
++               const Boole B_have_flexible_residues,
++               const Boole B_rms_atoms_ligand_only,
++               const Unbound_Model ad4_unbound_model
+ 
+               )
+ 
+Index: autodocksuite-4.2.3/autodock/analysis.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/analysis.h	2010-08-05 01:24:05.000000000 +0200
++++ autodocksuite-4.2.3/autodock/analysis.h	2010-08-05 01:27:25.000000000 +0200
+@@ -41,46 +41,46 @@
+ #ifndef ANALYSIS
+ #define ANALYSIS
+ 
+-void  analysis( int   Nnb, 
+-                char  atomstuff[MAX_ATOMS][MAX_CHARS], 
+-                Real charge[MAX_ATOMS], 
+-                Real abs_charge[MAX_ATOMS], 
+-                Real qsp_abs_charge[MAX_ATOMS], 
+-                Boole B_calcIntElec,
+-                Real clus_rms_tol, 
+-                Real crdpdb[MAX_ATOMS][SPACE], 
++void  analysis( const int   Nnb, 
++                const char  atomstuff[MAX_ATOMS][MAX_CHARS], 
++                const Real charge[MAX_ATOMS], 
++                const Real abs_charge[MAX_ATOMS], 
++                const Real qsp_abs_charge[MAX_ATOMS], 
++                const Boole B_calcIntElec,
++                const Real clus_rms_tol, 
++                const Real crdpdb[MAX_ATOMS][SPACE], 
+                 
+-                const EnergyTables *ptr_ad_energy_tables,
++                const EnergyTables *const ptr_ad_energy_tables,
+                 #include "map_declare.h"
+-                Real econf[MAX_RUNS], 
+-                int   irunmax, 
+-                int   natom, 
+-                NonbondParam *nonbondlist, 
+-                int   nconf, 
+-                int   ntor, 
+-                State hist[MAX_RUNS], 
+-                char  *smFileName, 
+-                Real sml_center[SPACE], 
+-                Boole B_symmetry_flag, 
+-                int   tlist[MAX_TORS][MAX_ATOMS], 
+-                int   type[MAX_ATOMS], 
+-                Real vt[MAX_TORS][SPACE],
+-                char  *rms_ref_crds,
+-                Real torsFreeEnergy,
+-                Boole B_write_all_clusmem,
+-                int ligand_is_inhibitor,
+-                int   outlev,
+-                int   ignore_inter[MAX_ATOMS],
++                const Real econf[MAX_RUNS], 
++                const int   irunmax, 
++                const int   natom, 
++                const NonbondParam *nonbondlist, 
++                const int   nconf, 
++                const int   ntor, 
++                const State hist[MAX_RUNS], 
++                const char  *const smFileName, 
++                const Real sml_center[SPACE], 
++                const Boole B_symmetry_flag, 
++                const int   tlist[MAX_TORS][MAX_ATOMS], 
++                const int   type[MAX_ATOMS], 
++                const Real vt[MAX_TORS][SPACE],
++                const char  *const rms_ref_crds,
++                const Real torsFreeEnergy,
++                const Boole B_write_all_clusmem,
++                const int ligand_is_inhibitor,
++                const int   outlev,
++                const int   ignore_inter[MAX_ATOMS],
+                 const Boole   B_include_1_4_interactions,
+                 const Real scale_1_4,
+ 
+                 const Real unbound_internal_FE,
+                 
+-                GridMapSetInfo *info,
+-                Boole B_use_non_bond_cutoff,
+-                Boole B_have_flexible_residues,
+-                Boole B_rms_atoms_ligand_only,
+-                Unbound_Model ad4_unbound_model
++                const GridMapSetInfo *const info,
++                const Boole B_use_non_bond_cutoff,
++                const Boole B_have_flexible_residues,
++                const Boole B_rms_atoms_ligand_only,
++                const Unbound_Model ad4_unbound_model
+ 
+                );
+ #endif
+Index: autodocksuite-4.2.3/autodock/autodock4
+===================================================================
+Binary files autodocksuite-4.2.3.orig/autodock/autodock4	2010-08-05 01:30:06.000000000 +0200 and autodocksuite-4.2.3/autodock/autodock4	2010-08-05 01:34:35.000000000 +0200 differ
+Index: autodocksuite-4.2.3/autodock/calculateEnergies.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/calculateEnergies.cc	2010-08-04 23:43:55.000000000 +0200
++++ autodocksuite-4.2.3/autodock/calculateEnergies.cc	2010-08-04 23:44:54.000000000 +0200
+@@ -277,10 +277,10 @@
+     eb->deltaG = eb->e_inter + eb->e_intra + eb->e_torsFreeEnergy - eb->e_unbound_internal_FE;
+ }
+ 
+-void initialise_binding_energy_breakdown( EnergyBreakdown * eb,
+-                                          Real torsFreeEnergy, 
+-                                          Real unbound_internal_FE ,
+-                                          Unbound_Model ad4_unbound_model)
++void initialise_binding_energy_breakdown( /* not const */ EnergyBreakdown *const eb,
++                                          const Real torsFreeEnergy, 
++                                          const Real unbound_internal_FE ,
++                                          const Unbound_Model ad4_unbound_model)
+         {
+     eb->e_inter_moving_fixed = 0.0;      // (1)  // trilinterp( 0, true_ligand_atoms, ...)
+     eb->e_intra_moving_fixed_rec = 0.0;  // (2)  // trilinterp( true_ligand_atoms, natom, ...)
+Index: autodocksuite-4.2.3/autodock/calculateEnergies.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/calculateEnergies.h	2010-08-04 23:43:56.000000000 +0200
++++ autodocksuite-4.2.3/autodock/calculateEnergies.h	2010-08-04 23:46:30.000000000 +0200
+@@ -65,11 +65,11 @@
+ 
+ );
+ 
+-void update_energy_breakdown( EnergyBreakdown * eb );
++void update_energy_breakdown( EnergyBreakdown * eb ); //FIXME: Steffen:  this misses the extra parameter const Unbound_Model ad4_unbound_model
+ 
+-void initialise_energy_breakdown ( EnergyBreakdown * eb,
+-                                   Real torsFreeEnergy, 
+-                                   Real unbound_internal_FE );
++void initialise_energy_breakdown ( /* not const */ EnergyBreakdown *const eb,
++                                   const Real torsFreeEnergy, 
++                                   const Real unbound_internal_FE );
+ 
+ EnergyBreakdown calculateBindingEnergies(
+     const int            natom,                     // input  number of atoms
+Index: autodocksuite-4.2.3/autodock/check_header_float.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/check_header_float.cc	2010-08-04 23:47:00.000000000 +0200
++++ autodocksuite-4.2.3/autodock/check_header_float.cc	2010-08-04 23:47:16.000000000 +0200
+@@ -37,7 +37,7 @@
+ extern FILE *logFile;
+ 
+ 
+-void check_header_float( Real f1, Real f2, char keyword[], char filename[] )
++void check_header_float( const Real f1, const Real f2, const char keyword[], const char filename[] )
+ 
+ {
+     if ( f1 != f2 ) { 
+Index: autodocksuite-4.2.3/autodock/check_header_float.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/check_header_float.h	2010-08-04 23:47:00.000000000 +0200
++++ autodocksuite-4.2.3/autodock/check_header_float.h	2010-08-04 23:47:22.000000000 +0200
+@@ -27,8 +27,8 @@
+ #ifndef CHKHDFLOAT
+ #define CHKHDFLOAT
+ 
+-void  check_header_float( Real f1, 
+-			  Real f2, 
+-			  char  keyword[], 
+-			  char  filename[] );
++void  check_header_float( const Real f1, 
++			  const Real f2, 
++			  const char  keyword[], 
++			  const char  filename[] );
+ #endif
+Index: autodocksuite-4.2.3/autodock/check_header_int.cc
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/check_header_int.cc	2010-08-04 23:47:30.000000000 +0200
++++ autodocksuite-4.2.3/autodock/check_header_int.cc	2010-08-04 23:47:56.000000000 +0200
+@@ -36,10 +36,10 @@
+ extern FILE *logFile;
+ 
+ 
+-void check_header_int( int i1, 
+-		       int i2, 
+-		       char axis, 
+-		       char *filename )
++void check_header_int( const int i1, 
++		       const int i2, 
++		       const char axis, 
++		       const char *const filename )
+ 
+ {
+     char message[LINE_LEN];
+Index: autodocksuite-4.2.3/autodock/check_header_int.h
+===================================================================
+--- autodocksuite-4.2.3.orig/autodock/check_header_int.h	2010-08-04 23:47:30.000000000 +0200
++++ autodocksuite-4.2.3/autodock/check_header_int.h	2010-08-04 23:48:03.000000000 +0200
+@@ -31,8 +31,8 @@
+ #include "print_2x.h"
+ #include "stop.h"
+ 
+-void  check_header_int( int   i1, 
+-                        int   i2, 
+-                        char  axis, 
+-                        char  * filename );
++void  check_header_int( const int   i1, 
++                        const int   i2, 
++                        const char  axis, 
++                        const char  *const filename );
+ #endif

Modified: trunk/packages/autodocksuite/trunk/debian/patches/series
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/series	2010-08-04 12:53:25 UTC (rev 5104)
+++ trunk/packages/autodocksuite/trunk/debian/patches/series	2010-08-04 23:40:56 UTC (rev 5105)
@@ -15,3 +15,5 @@
 const_manual_70.patch
 const_manual_75.patch
 const_manual_80.patch
+const_manual_85.patch
+const_manual_90.patch




More information about the debian-med-commit mailing list