Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2016 04:46:54 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428834 - head/biology/blat/files
Message-ID:  <201612180446.uBI4ksBW070867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612180446.uBI4ksBW070867>