From owner-svn-ports-head@freebsd.org Wed Feb 1 05:28:41 2017 Return-Path: Delivered-To: svn-ports-head@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 5BE58CCD9C3; Wed, 1 Feb 2017 05:28:41 +0000 (UTC) (envelope-from jbeich@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 25F951658; Wed, 1 Feb 2017 05:28:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v115Se03088677; Wed, 1 Feb 2017 05:28:40 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v115SeV4088676; Wed, 1 Feb 2017 05:28:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702010528.v115SeV4088676@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 05:28:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432984 - head/archivers/bicom/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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 05:28:41 -0000 Author: jbeich Date: Wed Feb 1 05:28:40 2017 New Revision: 432984 URL: https://svnweb.freebsd.org/changeset/ports/432984 Log: archivers/bicom: unbreak with clang 4.0 In file included from bialib/sufftree.cpp:57: ./bialib/sufftree.h:98:16: error: ordered comparison between pointer and zero ('SuffixTreeModel::LNode *' and 'int') {return(r>0);} ~^~ Reported by: antoine (via exp-run) Added: head/archivers/bicom/files/patch-bialib_sufftree.h (contents, props changed) Added: head/archivers/bicom/files/patch-bialib_sufftree.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/bicom/files/patch-bialib_sufftree.h Wed Feb 1 05:28:40 2017 (r432984) @@ -0,0 +1,11 @@ +--- bialib/sufftree.h.orig 2000-10-26 01:51:04 UTC ++++ bialib/sufftree.h +@@ -95,7 +95,7 @@ class SuffixTreeModel : public Arithmeti + { + public: + bool InEdge() +- {return(r>0);} ++ {return(r!=NULL);} + //After Canonize()ing a point, r >0 <=> proj!=0, i.e., point + //is inside an edge + INode *ins; //parent of point