Pysam wants several functions not included in the library
[samtools.git] / debian / patches / build-so
index ffe66d297fe16b5de716ee2967ec7ca5edce828e..8d25673bb94893f30f2471e3c8e2e2c57f88184d 100644 (file)
@@ -1,15 +1,15 @@
-diff --git a/Makefile b/Makefile
-index db18333..926059b 100644
---- a/Makefile
-+++ b/Makefile
+Index: samtools.debian/Makefile
+===================================================================
+--- samtools.debian.orig/Makefile      2012-12-19 14:23:16.799622129 -0800
++++ samtools.debian/Makefile   2012-12-19 14:23:21.839621951 -0800
 @@ -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 @@ all:$(PROG)
+ LOBJS=                bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam_view.o sam.o bam_index.o \
+@@ -36,13 +36,13 @@
  .PHONY:all lib clean cleanlocal
  .PHONY:all-recur lib-recur clean-recur cleanlocal-recur install-recur
  
@@ -25,7 +25,7 @@ index db18333..926059b 100644
  
  razip:razip.o razf.o $(KNETFILE_O)
                $(CC) $(CFLAGS) -o $@ razf.o razip.o $(KNETFILE_O) -lz
-@@ -75,8 +75,9 @@ faidx_main.o:faidx.h razf.h
+@@ -76,8 +76,9 @@
  libbam.1.dylib-local:$(LOBJS)
                libtool -dynamic $(LOBJS) -o libbam.1.dylib -lc -lz