summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-04-09 20:26:28 +0200
committerDavid Seifert <soap@gentoo.org>2016-04-09 20:57:05 +0200
commit1e3f5d88f730c5d04b64095114d2e48c1ec4ba58 (patch)
treef067251bfa8ccc7481541eb1a5cab6b955fc9172 /sci-biology/bowtie/files/bowtie-1.1.2-seqan-popcount.patch
parentsci-biology/seqan: SLOT 1.4 and 2.1, allow for parallel installation (diff)
downloadgentoo-1e3f5d88f730c5d04b64095114d2e48c1ec4ba58.tar.gz
gentoo-1e3f5d88f730c5d04b64095114d2e48c1ec4ba58.tar.bz2
gentoo-1e3f5d88f730c5d04b64095114d2e48c1ec4ba58.zip
sci-biology/bowtie: unbundle SeqAn, import Debian patches
* EAPI=6 Package-Manager: portage-2.2.28
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