svn commit: r458954 - head/databases/kyotocabinet/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 14 07:07:04 UTC 2018


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;


More information about the svn-ports-all mailing list