Hello community,

here is the log from the commit of package kyotocabinet for openSUSE:Factory 
checked in at 2017-04-24 09:46:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kyotocabinet (Old)
 and      /work/SRC/openSUSE:Factory/.kyotocabinet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kyotocabinet"

Mon Apr 24 09:46:12 2017 rev:9 rq:485796 version:1.2.76

Changes:
--------
--- /work/SRC/openSUSE:Factory/kyotocabinet/kyotocabinet.changes        
2016-05-31 12:10:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kyotocabinet.new/kyotocabinet.changes   
2017-04-24 09:46:15.645368236 +0200
@@ -1,0 +2,6 @@
+Tue Apr  4 03:47:22 UTC 2017 - [email protected]
+
+- kyotocabinet-fix-debuginfo.patch: Fix debuginfo generation
+- gcc6-fix-errors.patch: return NULL instead, make GCC7 happy 
+
+-------------------------------------------------------------------

New:
----
  kyotocabinet-fix-debuginfo.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kyotocabinet.spec ++++++
--- /var/tmp/diff_new_pack.5YOqHv/_old  2017-04-24 09:46:16.405260759 +0200
+++ /var/tmp/diff_new_pack.5YOqHv/_new  2017-04-24 09:46:16.409260193 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kyotocabinet
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,8 +28,10 @@
 # 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.
+# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Fix errors seen by GCC6/GCC7.
 Patch3:         gcc6-fix-errors.patch
+# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Do not supress debuginfo
+Patch4:         kyotocabinet-fix-debuginfo.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -110,6 +112,7 @@
 %patch1 -p 1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 sed -ie "/ldconfig/d" Makefile.in
 sed -ie "/DOCDIR/d" Makefile.in
 

++++++ gcc6-fix-errors.patch ++++++
--- /var/tmp/diff_new_pack.5YOqHv/_old  2017-04-24 09:46:16.441255667 +0200
+++ /var/tmp/diff_new_pack.5YOqHv/_new  2017-04-24 09:46:16.445255102 +0200
@@ -1,11 +1,13 @@
---- 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 @@
+Index: kyotocabinet-1.2.76/kcdbext.h
+===================================================================
+--- kyotocabinet-1.2.76.orig/kcdbext.h
++++ kyotocabinet-1.2.76/kcdbext.h
+@@ -1278,7 +1278,7 @@ class IndexDB {
      if (omode_ == 0) {
        set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
        *sp = 0;
 -      return false;
-+      return '\0';
++      return NULL;
      }
      if (!cache_) return db_.get(kbuf, ksiz, sp);
      size_t dvsiz = 0;

++++++ kyotocabinet-fix-debuginfo.patch ++++++
Index: kyotocabinet-1.2.76/configure.in
===================================================================
--- kyotocabinet-1.2.76.orig/configure.in
+++ kyotocabinet-1.2.76/configure.in
@@ -35,8 +35,8 @@ MYDOCUMENTFILES="COPYING FOSSEXCEPTION C
 MYPCFILES="kyotocabinet.pc"
 
 # Building flags
-MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -g0"
-MYCXXFLAGS="-Wall -fPIC -fsigned-char -g0 -O2"
+MYCFLAGS="-Wall -fPIC -fsigned-char "
+MYCXXFLAGS="-Wall -fPIC -fsigned-char -fvisibility-inlines-hidden"
 MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
 MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1"
 MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__"

Reply via email to