Hello community, here is the log from the commit of package kyotocabinet for openSUSE:Factory checked in at 2016-05-31 12:10:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kyotocabinet (Old) and /work/SRC/openSUSE:Factory/.kyotocabinet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kyotocabinet" Changes: -------- --- /work/SRC/openSUSE:Factory/kyotocabinet/kyotocabinet.changes 2013-04-02 12:05:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kyotocabinet.new/kyotocabinet.changes 2016-05-31 12:10:24.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 25 09:38:17 UTC 2016 - [email protected] + +- Add gcc6-fix-errors.patch to remove errors seen by GCC6. + +------------------------------------------------------------------- New: ---- gcc6-fix-errors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kyotocabinet.spec ++++++ --- /var/tmp/diff_new_pack.MZZdic/_old 2016-05-31 12:10:25.000000000 +0200 +++ /var/tmp/diff_new_pack.MZZdic/_new 2016-05-31 12:10:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package kyotocabinet # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: %{name}-fix_rpath.patch Patch2: configure-8-byte-atomics.patch +# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Fix errors seen by GCC6. +Patch3: gcc6-fix-errors.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -107,6 +109,7 @@ %setup -q %patch1 -p 1 %patch2 -p1 +%patch3 -p1 sed -ie "/ldconfig/d" Makefile.in sed -ie "/DOCDIR/d" Makefile.in ++++++ gcc6-fix-errors.patch ++++++ --- kyotocabinet-1.2.76/kcdbext.h 2016-05-25 11:32:53.591866016 +0200 +++ kyotocabinet-1.2.76/kcdbext.h 2012-05-24 18:27:59.000000000 +0200 @@ -1278,7 +1278,7 @@ if (omode_ == 0) { set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened"); *sp = 0; - return false; + return '\0'; } if (!cache_) return db_.get(kbuf, ksiz, sp); size_t dvsiz = 0;
