File bind-dyndb-ldap-gcc7.patch of Package bind-dyndb-ldap
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;