aboutsummaryrefslogtreecommitdiff
path: root/biology/kallisto/files/patch-src_kseq.h
diff options
context:
space:
mode:
Diffstat (limited to 'biology/kallisto/files/patch-src_kseq.h')
-rw-r--r--biology/kallisto/files/patch-src_kseq.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/biology/kallisto/files/patch-src_kseq.h b/biology/kallisto/files/patch-src_kseq.h
new file mode 100644
index 000000000000..f7712a023fda
--- /dev/null
+++ b/biology/kallisto/files/patch-src_kseq.h
@@ -0,0 +1,12 @@
+--- src/kseq.h.orig 2019-11-04 16:28:52 UTC
++++ src/kseq.h
+@@ -32,6 +32,9 @@
+ #include <string.h>
+ #include <stdlib.h>
+
++// Prevent redefinition of kstring_t below
++#include <htslib/kstring.h>
++
+ #define KS_SEP_SPACE 0 // isspace(): \t, \n, \v, \f, \r
+ #define KS_SEP_TAB 1 // isspace() && !' '
+ #define KS_SEP_LINE 2 // line separator: "\n" (Unix) or "\r\n" (Windows)