diff options
Diffstat (limited to 'dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch')
-rw-r--r-- | dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch new file mode 100644 index 000000000000..3bcc6a28e795 --- /dev/null +++ b/dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch @@ -0,0 +1,11 @@ +--- a/kcdbext.h ++++ b/kcdbext.h +@@ -1278,7 +1278,7 @@ + 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; |