From owner-svn-ports-all@freebsd.org Sun Dec 18 04:46:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 305BDC86059; Sun, 18 Dec 2016 04:46:55 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F12158BF; Sun, 18 Dec 2016 04:46:54 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBI4ks4K070868; Sun, 18 Dec 2016 04:46:54 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBI4ksBW070867; Sun, 18 Dec 2016 04:46:54 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201612180446.uBI4ksBW070867@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 18 Dec 2016 04:46:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428834 - head/biology/blat/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 04:46:55 -0000 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;