1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/biology/bcftools/files/patch-prob1.c
Luca Pizzamiglio ecaa1024a6 biology/htslib biology/bcftools biology/samtools: Update to 1.6
PR:		223094
Submitted by:	mzaki@niid.go.jp
Approved by:	cartwright@asu.edu (maintainer)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12768
2017-10-25 10:19:50 +00:00

16 lines
361 B
C

--- prob1.c.orig 2017-09-28 11:22:48 UTC
+++ prob1.c
@@ -33,6 +33,12 @@ THE SOFTWARE. */
#include <zlib.h>
#include "prob1.h"
+#include <sys/param.h>
+#if defined(__FreeBSD__) && (__FreeBSD_version < 1000034)
+# define logl(x) log(x)
+# define expl(x) exp(x)
+#endif
+
// #include "kstring.h"
// #include "kseq.h"
// KSTREAM_INIT(gzFile, gzread, 16384)