Index: head/biology/vt/Makefile =================================================================== --- head/biology/vt/Makefile (revision 544090) +++ head/biology/vt/Makefile (revision 544091) @@ -1,27 +1,28 @@ # $FreeBSD$ PORTNAME= vt DISTVERSION= 0.57721 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Discovers short variants from Next Generation Sequencing data LICENSE= MIT -LIB_DEPENDS= libhts.so:biology/htslib \ +LIB_DEPENDS= libhts.so.3:biology/htslib \ libsvm.so:science/libsvm \ libdeflate.so:archivers/libdeflate \ libcurl.so:ftp/curl USES= compiler:c++0x gmake ssl USE_GITHUB= yes GH_ACCOUNT= atks PLIST_FILES= bin/vt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vt ${STAGEDIR}${PREFIX}/bin .include Index: head/biology/vt/files/patch-bcf__ordered__writer.cpp =================================================================== --- head/biology/vt/files/patch-bcf__ordered__writer.cpp (nonexistent) +++ head/biology/vt/files/patch-bcf__ordered__writer.cpp (revision 544091) @@ -0,0 +1,20 @@ +--- bcf_ordered_writer.cpp.orig 2020-07-27 13:12:44 UTC ++++ bcf_ordered_writer.cpp +@@ -155,7 +155,7 @@ void BCFOrderedWriter::write(bcf1_t *v) + + if (i==buffer.end()) + { +- int32_t cutoff_pos1 = std::max(bcf_get_pos1(buffer.front())-window,1); ++ int32_t cutoff_pos1 = std::max(bcf_get_pos1(buffer.front())-window,(hts_pos_t)1); + if (bcf_get_pos1(v)1) + { +- int32_t cutoff_pos1 = std::max(bcf_get_pos1(buffer.front())-window,1); ++ int32_t cutoff_pos1 = std::max(bcf_get_pos1(buffer.front())-window,(hts_pos_t)1); + + while (buffer.size()>1) + { Property changes on: head/biology/vt/files/patch-bcf__ordered__writer.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/vt/files/patch-discover.cpp =================================================================== --- head/biology/vt/files/patch-discover.cpp (nonexistent) +++ head/biology/vt/files/patch-discover.cpp (revision 544091) @@ -0,0 +1,11 @@ +--- discover.cpp.orig 2020-07-27 13:45:38 UTC ++++ discover.cpp +@@ -352,7 +352,7 @@ class Igor : Program + //already present + free(qname); + } +- kh_val(reads, k) = {bam_get_pos1(s), bam_get_pos1(s)+bam_get_l_qseq(s)-1}; ++ kh_val(reads, k) = {(int32_t)bam_get_pos1(s), (int32_t)bam_get_pos1(s)+bam_get_l_qseq(s)-1}; + } + } + else Property changes on: head/biology/vt/files/patch-discover.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/vt/files/patch-genotype.cpp =================================================================== --- head/biology/vt/files/patch-genotype.cpp (nonexistent) +++ head/biology/vt/files/patch-genotype.cpp (revision 544091) @@ -0,0 +1,11 @@ +--- genotype.cpp.orig 2020-07-27 13:47:27 UTC ++++ genotype.cpp +@@ -301,7 +301,7 @@ class Igor : Program + //already present + free(qname); + } +- kh_val(reads, k) = {bam_get_pos1(s), bam_get_pos1(s)+bam_get_l_qseq(s)-1}; ++ kh_val(reads, k) = {(int32_t)bam_get_pos1(s), (int32_t)bam_get_pos1(s)+bam_get_l_qseq(s)-1}; + } + } + else Property changes on: head/biology/vt/files/patch-genotype.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/vt/files/patch-read__filter.cpp =================================================================== --- head/biology/vt/files/patch-read__filter.cpp (nonexistent) +++ head/biology/vt/files/patch-read__filter.cpp (revision 544091) @@ -0,0 +1,18 @@ +--- read_filter.cpp.orig 2020-07-27 13:49:14 UTC ++++ read_filter.cpp +@@ -92,7 +92,7 @@ bool ReadFilter::filter_read(bam_hdr_t* h, bam1_t *s) + //already present + free(qname); + } +- kh_val(reads, k) = {bam_get_pos1(s), bam_get_pos1(s)+bam_get_l_qseq(s)-1}; ++ kh_val(reads, k) = {(int32_t)bam_get_pos1(s), (int32_t)bam_get_pos1(s)+bam_get_l_qseq(s)-1}; + } + } + else +@@ -272,4 +272,4 @@ void ReadFilter::bam_print_key_values(bam_hdr_t *h, ba + if (qual.m) free(qual.s); + if (cigar_string.m) free(cigar_string.s); + if (cigar_expanded_string.m) free(cigar_expanded_string.s); +-} +\ No newline at end of file ++} Property changes on: head/biology/vt/files/patch-read__filter.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property