svn commit: r428834 - head/biology/blat/files
John Marino
marino at FreeBSD.org
Sun Dec 18 04:46:55 UTC 2016
Author: marino
Date: Sun Dec 18 04:46:53 2016
New Revision: 428834
URL: https://svnweb.freebsd.org/changeset/ports/428834
Log:
biology/blat: Fix build on DF (taken from dports)
Added:
head/biology/blat/files/patch-lib_fof.c (contents, props changed)
Added: head/biology/blat/files/patch-lib_fof.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/biology/blat/files/patch-lib_fof.c Sun Dec 18 04:46:53 2016 (r428834)
@@ -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;
More information about the svn-ports-head
mailing list