diff options
author | John Marino <marino@FreeBSD.org> | 2016-12-18 04:46:53 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-12-18 04:46:53 +0000 |
commit | e3618c80638cb8ade476c83a31a22dc63160b1aa (patch) | |
tree | 282e491c5016fa0464d27a936505b4b9e68a02a5 /biology | |
parent | cfcd1f0b6811ef922b5d0a01d10117f2291df48a (diff) | |
download | ports-e3618c80638cb8ade476c83a31a22dc63160b1aa.tar.gz ports-e3618c80638cb8ade476c83a31a22dc63160b1aa.zip |
Notes
Diffstat (limited to 'biology')
-rw-r--r-- | biology/blat/files/patch-lib_fof.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/biology/blat/files/patch-lib_fof.c b/biology/blat/files/patch-lib_fof.c new file mode 100644 index 000000000000..b961eba61b15 --- /dev/null +++ b/biology/blat/files/patch-lib_fof.c @@ -0,0 +1,14 @@ +--- lib/fof.c.orig 2014-11-06 03:15:59 UTC ++++ lib/fof.c +@@ -336,7 +336,11 @@ static int cmpOnFilePos(const void *va, + { + const struct fofBatch *a = *((struct fofBatch **)va); + const struct fofBatch *b = *((struct fofBatch **)vb); ++#ifdef __DragonFly__ ++int dif = (struct __FILE_public*)a->f - (struct __FILE_public*)b->f; ++#else + int dif = a->f - b->f; ++#endif + if (dif == 0) + dif = a->offset - b->offset; + return dif; |