Clean up my patches
authorDiane Trout <diane@caltech.edu>
Wed, 19 Dec 2012 18:56:25 +0000 (10:56 -0800)
committerDiane Trout <diane@caltech.edu>
Wed, 19 Dec 2012 18:56:25 +0000 (10:56 -0800)
Add a end-of-file newline to series and remove the
duplicate patch to enable shared libraries.

debian/patches/series
debian/patches/use-shlib [deleted file]

index 180fd32a6eb585c95944e7bdca224122f57646eb..8310354bea296f4247336821aec0f21abfd2459d 100644 (file)
@@ -1,3 +1,4 @@
 no-pileup-tests.patch
 razip-oom-check
-build-so
\ No newline at end of file
+build-so
+
diff --git a/debian/patches/use-shlib b/debian/patches/use-shlib
deleted file mode 100644 (file)
index e747a11..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-Index: samtools-0.1.17/Makefile
-===================================================================
---- samtools-0.1.17.orig/Makefile      2011-07-25 21:00:44.145494440 -0700
-+++ samtools-0.1.17/Makefile   2011-07-25 21:09:46.265494761 -0700
-@@ -1,5 +1,5 @@
- CC=                   gcc
--CFLAGS=               -g -Wall -O2 #-m64 #-arch ppc
-+CFLAGS=               -g -Wall -O2 -fPIC #-m64 #-arch ppc
- DFLAGS=               -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1
- KNETFILE_O=   knetfile.o
- LOBJS=                bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o \
-@@ -35,13 +35,13 @@
- .PHONY:all lib clean cleanlocal
- .PHONY:all-recur lib-recur clean-recur cleanlocal-recur install-recur
--lib:libbam.a
-+lib:libbam.so.1
- libbam.a:$(LOBJS)
-               $(AR) -csru $@ $(LOBJS)
- samtools:lib-recur $(AOBJS)
--              $(CC) $(CFLAGS) -o $@ $(AOBJS) -Lbcftools $(LIBPATH) libbam.a -lbcf $(LIBCURSES) -lm -lz
-+              $(CC) $(CFLAGS) -o $@ $(AOBJS) -Lbcftools $(LIBPATH) -L. -lbam -lbcf $(LIBCURSES) -lm -lz
- razip:razip.o razf.o $(KNETFILE_O)
-               $(CC) $(CFLAGS) -o $@ razf.o razip.o $(KNETFILE_O) -lz
-@@ -75,8 +75,9 @@
- libbam.1.dylib-local:$(LOBJS)
-               libtool -dynamic $(LOBJS) -o libbam.1.dylib -lc -lz
--libbam.so.1-local:$(LOBJS)
-+libbam.so.1:$(LOBJS)
-               $(CC) -shared -Wl,-soname,libbam.so -o libbam.so.1 $(LOBJS) -lc -lz
-+              ln -s $@ libbam.so
- dylib:
-               @$(MAKE) cleanlocal; \