aboutsummaryrefslogtreecommitdiff
path: root/biology/kallisto/files/patch-src_kseq.h
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2022-01-19 13:57:36 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2022-01-19 13:57:36 +0000
commitc9bd01bdf4c1dae17b53482e9dabe000d310cf50 (patch)
tree0ae5d8e3ff02b5a9651dbe258d7db49dec778ccc /biology/kallisto/files/patch-src_kseq.h
parentf9a2f32279b075d36a16ae85664c4b7ead61410c (diff)
downloadports-c9bd01bdf4c1dae17b53482e9dabe000d310cf50.tar.gz
ports-c9bd01bdf4c1dae17b53482e9dabe000d310cf50.zip
biology/kallisto: Update to 0.48.0
Fixes segfault with --genomebam in 0.46.2 Unbundle htslib A few new features and performance improvements Changes: https://github.com/pachterlab/kallisto/tags
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)