summaryrefslogtreecommitdiff
path: root/academic/tophat/fix_build_w_seqan1.4.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 03:34:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 03:36:48 +0700
commit55988a5e807679e0904abd9af1d08fa66570d655 (patch)
tree9bd859394f09ef1e3433c1f7adc20a0c6d51c807 /academic/tophat/fix_build_w_seqan1.4.patch
parentf6f216c1eac5f0d862ac433b5195babeebb33259 (diff)
downloadslackbuilds-55988a5e807679e0904abd9af1d08fa66570d655.tar.gz
academic/tophat: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/tophat/fix_build_w_seqan1.4.patch')
-rw-r--r--academic/tophat/fix_build_w_seqan1.4.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/academic/tophat/fix_build_w_seqan1.4.patch b/academic/tophat/fix_build_w_seqan1.4.patch
new file mode 100644
index 0000000000..f51b833c1e
--- /dev/null
+++ b/academic/tophat/fix_build_w_seqan1.4.patch
@@ -0,0 +1,24 @@
+Description: Resolves build failure with seqan 1.4
+Bug-Closed: http://bugs.debian.org/733352
+Author: Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de>
+--- a/src/segment_juncs.cpp
++++ b/src/segment_juncs.cpp
+@@ -2050,10 +2050,13 @@ void juncs_from_ref_segs(RefSequenceTabl
+ typedef map<uint32_t, IntronMotifs> MotifMap;
+
+ MotifMap ims;
+-
+- seqan::DnaStringReverseComplement rev_donor_dinuc(donor_dinuc);
+- seqan::DnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc);
+-
++
++ typedef seqan::ModifiedString<
++ seqan::ModifiedString<seqan::DnaString const, seqan::ModView<seqan::FunctorComplement<seqan::Dna> > >,
++ seqan::ModReverse> ConstDnaStringReverseComplement;
++ ConstDnaStringReverseComplement rev_donor_dinuc(donor_dinuc);
++ ConstDnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc);
++
+ if (talkative)
+ fprintf(stderr, "Collecting potential splice sites in islands\n");
+
+