freebsd-ports/biology/kallisto/files/patch-src_kseq.h
Jason W. Bacon c9bd01bdf4 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
2022-01-19 07:57:36 -06:00

12 lines
373 B
C

--- 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)