From owner-svn-ports-head@freebsd.org Sun Jan 14 07:07:04 2018 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 18226EA5199; Sun, 14 Jan 2018 07:07:04 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E868D6F634; Sun, 14 Jan 2018 07:07:03 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3D6301E6DC; Sun, 14 Jan 2018 07:07:03 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0E7733b097034; Sun, 14 Jan 2018 07:07:03 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0E7731j097033; Sun, 14 Jan 2018 07:07:03 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801140707.w0E7731j097033@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 14 Jan 2018 07:07:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458954 - head/databases/kyotocabinet/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/databases/kyotocabinet/files X-SVN-Commit-Revision: 458954 X-SVN-Commit-Repository: ports 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.25 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: Sun, 14 Jan 2018 07:07:04 -0000 Author: sunpoet Date: Sun Jan 14 07:07:02 2018 New Revision: 458954 URL: https://svnweb.freebsd.org/changeset/ports/458954 Log: Fix build with Clang 6 Reported by: ler Tested by: ler Added: head/databases/kyotocabinet/files/patch-kcdbext.h (contents, props changed) Added: head/databases/kyotocabinet/files/patch-kcdbext.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/kyotocabinet/files/patch-kcdbext.h Sun Jan 14 07:07:02 2018 (r458954) @@ -0,0 +1,11 @@ +--- kcdbext.h.orig 2012-05-24 16:27:59 UTC ++++ kcdbext.h +@@ -1278,7 +1278,7 @@ class IndexDB { + if (omode_ == 0) { + set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened"); + *sp = 0; +- return false; ++ return NULL; + } + if (!cache_) return db_.get(kbuf, ksiz, sp); + size_t dvsiz = 0;