Date: Sun, 14 Jan 2018 07:07:03 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458954 - head/databases/kyotocabinet/files Message-ID: <201801140707.w0E7731j097033@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801140707.w0E7731j097033>