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

use_debian_packaged_jsoncpp.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
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 27 Jan 2017 13:18:48 +0100
Description: Do not use code copy of jsoncpp

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,8 +1,8 @@
 lib_LTLIBRARIES  = libseqlib.la
 
-libseqlib_la_CPPFLAGS = -I/usr/include -I/usr/include/htslib -I/usr/include/fml -Wno-sign-compare
+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 jsoncpp.cpp ssw_cpp.cpp ssw.c \
+libseqlib_la_SOURCES =   FastqReader.cpp BFC.cpp ReadFilter.cpp SeqPlot.cpp ssw_cpp.cpp ssw.c \
 			GenomicRegion.cpp RefGenome.cpp BamWriter.cpp BamReader.cpp \
 			BWAWrapper.cpp BamRecord.cpp FermiAssembler.cpp BamHeader.cpp
 libseqlib_la_LDFLAGS = -version-info @LIB_VERSION@
--- 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/jsoncpp.cpp
+	../src/FermiAssembler.cpp ../src/ssw_cpp.cpp ../src/ssw.c