File: 0001-ignore-thirdparty-and-fix-jsoncpp.patch

package info (click to toggle)
bamtools 2.5.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,652 kB
  • sloc: cpp: 19,103; ansic: 39; makefile: 31; sh: 27
file content (30 lines) | stat: -rw-r--r-- 837 bytes parent folder | 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
Description: ignore-thirdparty-and-fix-jsoncpp
Author: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Forwarded: not-needed
Last-Update: 2012-11-07

---
 src/CMakeLists.txt              | 2 +-
 src/toolkit/CMakeLists.txt      | 1 -
 src/toolkit/bamtools_filter.cpp | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

--- bamtools.orig/src/CMakeLists.txt
+++ bamtools/src/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_subdirectory(third_party)
+#add_subdirectory(third_party)
 
 if(MSVC)
     # We need full support for C++ exceptions
--- bamtools.orig/src/toolkit/bamtools_filter.cpp
+++ bamtools/src/toolkit/bamtools_filter.cpp
@@ -16,7 +16,7 @@
 #include <utils/bamtools_utilities.h>
 using namespace BamTools;
 
-#include <json/json.h>
+#include <jsoncpp/json/json.h>
 using namespace Json;
 
 #include <cstdio>