Date: Wed, 1 Feb 2017 05:28:40 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432984 - head/archivers/bicom/files Message-ID: <201702010528.v115SeV4088676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702010528.v115SeV4088676>