Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

ext patches (courtesy Thomas Jahns)

svn path=/bioperl-ext/trunk/; revision=15030
  • Loading branch information...
commit 13dad20efebe4a018dcc38d0ba82c8afdc82e7e1 1 parent 85604a2
authored November 26, 2008
6  Bio/Ext/Align/Makefile.PL
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
3 3
 # the contents of the Makefile that is written.
4 4
 WriteMakefile(
5 5
     'NAME'	=> 'Bio::Ext::Align',
6  
-    'VERSION'	=> '1.5.3',
  6
+    'VERSION'	=> '1.6.0',
7 7
     'LIBS'	=> ['-lm'],   # e.g., '-lm' 
8 8
     'DEFINE'	=> '-DPOSIX -DNOERROR',     # e.g., '-DHAVE_SOMETHING' 
9 9
     'INC'	=> '-I./libs',     # e.g., '-I/usr/include/other'
@@ -15,7 +15,7 @@ sub MY::postamble{
15 15
 '
16 16
 $(MYEXTLIB): 
17 17
 	DEFINE=\'$(DEFINE)\'; CC=\'$(PERLMAINCC)\'; CFLAGS=\'$(CCFLAGS)\'; export DEFINE INC CC CFLAGS; \
18  
-	cd libs && $(MAKE) CC=\'$(PERLMAINCC)\' CFLAGS=\'$(CCFLAGS) $(DEFINE)\' DEFINE=\'$(DEFINE)\' libsw$(LIB_EXT) -e
19  
-
  18
+	cd libs && $(MAKE) CC=\'$(PERLMAINCC)\' CFLAGS=\'$(CCFLAGS) $(DEFINE)\' DEFINE=\'$(DEFINE)\' libsw$(LIB_EXT) -e ; \
  19
+    $(RANLIB) libsw$(LIB_EXT)
20 20
 ';
21 21
 }
3  Bio/Ext/Align/libs/dpalign.c
@@ -300,6 +300,7 @@ pgreen(int * waa, int M, unsigned char * B, int N, int gap, int ext, struct swst
300 300
     next_row:
301 301
 	;
302 302
     }
303  
-
  303
+	
  304
+	free(waa);
304 305
     return score;
305 306
 }
3  Bio/Ext/Align/libs/makefile
@@ -48,3 +48,6 @@ libsw.a : $(OBJS)
48 48
 
49 49
 CFLAGS = -c -O -fPIC
50 50
 CC     = cc
  51
+
  52
+clean:
  53
+	rm -f $(OBJS)

0 notes on commit 13dad20

Please sign in to comment.
Something went wrong with that request. Please try again.