From 766b6fb92585f43918ff39fb871cf3801cedf8b79d6428e48976d5444918b3d9 Mon Sep 17 00:00:00 2001 From: Uwe Gansert Date: Thu, 10 May 2012 11:45:20 +0000 Subject: [PATCH] assertion failure fix added OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=85 --- assertion_failure_fix.diff | 11 +++++++++++ bind.changes | 5 +++++ bind.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 assertion_failure_fix.diff diff --git a/assertion_failure_fix.diff b/assertion_failure_fix.diff new file mode 100644 index 0000000..68af9ea --- /dev/null +++ b/assertion_failure_fix.diff @@ -0,0 +1,11 @@ +--- bin/named/client.c ++++ bin/named/client.c 2012/05/10 11:39:32 +@@ -240,7 +240,7 @@ + REQUIRE(client->state == NS_CLIENTSTATE_WORKING); + + LOCK(&client->manager->reclock); +- client->state = NS_CLIENTSTATE_RECURSING; ++ client->newstate = client->state = NS_CLIENTSTATE_RECURSING; + ISC_LIST_APPEND(client->manager->recursing, client, rlink); + UNLOCK(&client->manager->reclock); + } diff --git a/bind.changes b/bind.changes index 80267f1..275d1ee 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 10 13:44:54 CEST 2012 - ug@suse.de + +- added patch to fix an assertion failure + ------------------------------------------------------------------- Fri May 4 17:01:24 CEST 2012 - ug@suse.de diff --git a/bind.spec b/bind.spec index 1065240..64d10d5 100644 --- a/bind.spec +++ b/bind.spec @@ -53,6 +53,7 @@ Patch51: pie_compile.diff Patch52: named-bootconf.diff Patch100: configure.in.diff2 Patch110: workaround-compile-problem.diff +Patch120: assertion_failure_fix.diff Source60: dlz-schema.txt %if %ul_version >= 1 %define VENDOR UL @@ -187,6 +188,7 @@ Name Domain (BIND) DNS server is found in the package named bind. %patch100 -p1 %endif %patch110 -p0 +%patch120 -p0 # modify settings of some files regarding to OS version and vendor function replaceStrings() {