aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/bowtie/files/bowtie-2.3.5-fix-fifo.patch')
-rw-r--r--sci-biology/bowtie/files/bowtie-2.3.5-fix-fifo.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-biology/bowtie/files/bowtie-2.3.5-fix-fifo.patch b/sci-biology/bowtie/files/bowtie-2.3.5-fix-fifo.patch
new file mode 100644
index 000000000..136bb1e69
--- /dev/null
+++ b/sci-biology/bowtie/files/bowtie-2.3.5-fix-fifo.patch
@@ -0,0 +1,15 @@
+https://github.com/BenLangmead/bowtie2/commit/d7eab7cf6b7e238047044cf61acc662b05c772c4
+
+diff --git a/pat.cpp b/pat.cpp
+index 453ba69..6d862f8 100644
+--- a/pat.cpp
++++ b/pat.cpp
+@@ -494,7 +494,7 @@ void CFilePatternSource::open() {
+
+ is_fifo = S_ISFIFO(st.st_mode) != 0;
+ #endif
+- if (pp_.format != BAM || is_fifo || is_gzipped_file(fd)) {
++ if (pp_.format != BAM && (is_fifo || is_gzipped_file(fd))) {
+ zfp_ = gzdopen(fd, "r");
+ compressed_ = true;
+ } else {