diff options
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.patch | 24 |
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 |