File: use_private_htslib_headers.patch

package info (click to toggle)
libseqlib 1.2.0%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,312 kB
  • sloc: cpp: 7,376; makefile: 63; sh: 5
file content (28 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (3)
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
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
Forwarded: not-needed

--- 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