summaryrefslogtreecommitdiff
path: root/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch')
-rw-r--r--sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch b/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
new file mode 100644
index 000000000000..52cb4f496521
--- /dev/null
+++ b/sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
@@ -0,0 +1,24 @@
+Description: Use SeqAn 1.4's seqan::popCount() function instead of own function
+Author: Ognyan Kulev <ogi@debian.org>
+Last-Update: 2014-03-08
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/diff_sample.h
++++ b/diff_sample.h
+@@ -476,6 +476,8 @@ static String<T> getDeltaMap(T v, const
+ return amap;
+ }
+
++// Debian: Use seqan::popCount
++#if 0
+ /**
+ * Return population count (count of all bits set to 1) of i.
+ */
+@@ -488,6 +490,7 @@ static unsigned int popCount(T i) {
+ }
+ return cnt;
+ }
++#endif
+
+ /**
+ * Calculate log-base-2 of i