Hello community,

here is the log from the commit of package bind-dyndb-ldap for openSUSE:Factory 
checked in at 2017-06-23 09:18:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bind-dyndb-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bind-dyndb-ldap"

Fri Jun 23 09:18:46 2017 rev:3 rq:505753 version:10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bind-dyndb-ldap/bind-dyndb-ldap.changes  
2016-08-03 11:42:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.bind-dyndb-ldap.new/bind-dyndb-ldap.changes     
2017-06-23 09:19:04.972347295 +0200
@@ -1,0 +2,6 @@
+Wed Jun 21 14:28:05 UTC 2017 - dims...@opensuse.org
+
+- Add bind-dyndb-ldap-gcc7.patch: Fix build with gcc7
+  "error: duplicate 'const' declaration specifier" (boo#1041191).
+
+-------------------------------------------------------------------

New:
----
  bind-dyndb-ldap-gcc7.patch

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

Other differences:
------------------
++++++ bind-dyndb-ldap.spec ++++++
--- /var/tmp/diff_new_pack.O98mq2/_old  2017-06-23 09:19:05.512271002 +0200
+++ /var/tmp/diff_new_pack.O98mq2/_new  2017-06-23 09:19:05.516270437 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bind-dyndb-ldap
 #
-# 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,6 +28,8 @@
 Source2:        %{name}.keyring
 # PATCH-FIX-UPSTREAM fix-initializers.patch -- Fix initializers, needed for 
gcc < 5
 Patch0:         fix-initializers.patch
+# PATCH-FIX-UPSTREAM bind-dyndb-ldap-gcc7.patch dims...@opensuse.org -- Fix 
build with gcc7: error: duplicate 'const' declaration specifier
+Patch1:         bind-dyndb-ldap-gcc7.patch
 BuildRequires:  bind-devel >= 9.10.0
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  krb5-devel
@@ -47,6 +49,7 @@
 %if 0%{?suse_version} <= 1320
 %patch0 -p1
 %endif
+%patch1 -p1
 # If building by osc, remove date and time from the code:
 if test -f %{_sourcedir}/%{name}.changes ; then
        LANG=C sed -i "$(date +'s/compiled at " __TIME__ " " __DATE__/last 
change %%T %%b %%e %%Y"/' -r %{_sourcedir}/%{name}.changes)" src/zone_manager.c


++++++ bind-dyndb-ldap-gcc7.patch ++++++
Index: bind-dyndb-ldap-10.0/src/ldap_helper.c
===================================================================
--- bind-dyndb-ldap-10.0.orig/src/ldap_helper.c
+++ bind-dyndb-ldap-10.0/src/ldap_helper.c
@@ -2302,7 +2302,7 @@ free_rdatalist(isc_mem_t *mctx, dns_rdat
  * @retval  others         Unexpected errors.
  */
 static isc_result_t ATTR_NONNULLS ATTR_CHECKRESULT
-ldap_substitute_rr_template(isc_mem_t *mctx, const settings_set_t const * set,
+ldap_substitute_rr_template(isc_mem_t *mctx, const settings_set_t * set,
                            ld_string_t *orig_val, ld_string_t **output) {
        isc_result_t result;
        regex_t regex;

Reply via email to