Package: libseqlib / 1.1.2+dfsg-1~bpo9+1

use_debian_packaged_ssw.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 27 Jan 2017 13:18:48 +0100
Description: Do not use code copy of libssw

--- a/seq_test/Makefile.am
+++ b/seq_test/Makefile.am
@@ -17,4 +17,4 @@ seq_test_SOURCES = seq_test.cpp \
 	../src/ReadFilter.cpp ../src/BamRecord.cpp \
 	../src/BWAWrapper.cpp \
         ../src/RefGenome.cpp ../src/SeqPlot.cpp ../src/BamHeader.cpp \
-	../src/FermiAssembler.cpp ../src/ssw_cpp.cpp ../src/ssw.c
+	../src/FermiAssembler.cpp
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ lib_LTLIBRARIES  = libseqlib.la
 
 libseqlib_la_CPPFLAGS = -I/usr/include -I/usr/include/htslib -I/usr/include/fml `pkg-config --cflags jsoncpp` -Wno-sign-compare
 
-libseqlib_la_SOURCES =   FastqReader.cpp BFC.cpp ReadFilter.cpp SeqPlot.cpp ssw_cpp.cpp ssw.c \
+libseqlib_la_SOURCES =   FastqReader.cpp BFC.cpp ReadFilter.cpp SeqPlot.cpp \
 			GenomicRegion.cpp RefGenome.cpp BamWriter.cpp BamReader.cpp \
 			BWAWrapper.cpp BamRecord.cpp FermiAssembler.cpp BamHeader.cpp
 libseqlib_la_LDFLAGS = -version-info @LIB_VERSION@
--- a/src/BamRecord.cpp
+++ b/src/BamRecord.cpp
@@ -5,7 +5,7 @@
 #include <cctype>
 #include <stdexcept>
 
-#include "SeqLib/ssw_cpp.h"
+#include <ssw_cpp.h>
 
 #define TAG_DELIMITER "^"
 #define CTAG_DELIMITER '^'