[Debian-med-packaging] Bug#976414: libseqlib: ftbfs with libjsoncpp/experimental

Gianfranco Costamagna locutusofborg at debian.org
Mon Jan 4 22:55:29 GMT 2021


control: tags -1 patch pending


--- a/src/ReadFilter.cpp
+++ b/src/ReadFilter.cpp
@@ -193,7 +193,8 @@ bool ReadFilter::isReadOverlappingRegion(const BamRecord &r) const {
 
     // assign the global rule if there is one
     // remove from the rest of the rules
-    Json::Value glob = root.removeMember("global");
+    Json::Value glob = root.get("global", null);
+    root.removeMember("global");
     if (!glob.isNull()) 
       rule_all.parseJson(glob);
     

Will test and upload if build is good

G.



More information about the Debian-med-packaging mailing list