Package: libseqlib / 1.1.2+dfsg-3

use_private_htslib_headers.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
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 05 Mar 2018 15:39:42 +0100
Bug-Debian: https://bugs.debian.org/891745
Description: Hack around improper use of private files of htslib

--- a/SeqLib/BamWalker.h
+++ b/SeqLib/BamWalker.h
@@ -12,8 +12,8 @@
 #endif
 
 extern "C" {
-#include "htslib/cram/cram.h"
-#include "htslib/cram/cram_io.h"
+#include <htslib/cram/cram.h>
+#include <htslib/cram/cram_io.h>
 }
 
 struct idx_delete {
--- a/libseqlib.pc.in
+++ b/libseqlib.pc.in
@@ -7,5 +7,5 @@ Name: libseqlib
 Version: @VERSION@
 Description: C++ htslib/bwa-mem/fermi interface for interrogating sequence data
 Libs: -L${libdir} -lseqlib -lfml -lbwa -lssw -lz
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I/usr/include/htslib