File 0022-dhcp-4.x.x-apply-bind-changes.patch of Package dhcp.24175
From e4464e489c8580f6d270627e8b305d31ac1e17d5 Mon Sep 17 00:00:00 2001
From: Nirmoy Das <ndas@suse.de>
Date: Wed, 27 Apr 2016 11:59:12 +0200
Subject: [PATCH] bind/makefile: apply bind changes
References: bsc#972907
Apply patches to bind library
---
bind/Makefile.in | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/bind/Makefile.in b/bind/Makefile.in
index bd784c6..1f1551d 100644
--- a/bind/Makefile.in
+++ b/bind/Makefile.in
@@ -42,9 +42,15 @@ cleanfiles = ./configure.log ./build.log ./install.log
bind1:
# Extract the source from the tarball, if it hasn't been already.
@if test -d ${bindsrcdir} ; then \
- echo ${bindsrcdir} already unpacked... ; \
- else \
- gunzip -c bind.tar.gz | tar xf - ; \
+ echo ${bindsrcdir} already unpacked... ; \
+ cd ${bindsrcdir}; \
+ patch -p1 < ../0023-bind-9.9.7-Hide-IRS-resolver-function.patch; \
+ cd -; \
+ else \
+ cd ${bindsrcdir}; \
+ gunzip -c bind.tar.gz | tar xf - ; \
+ patch -p1 < ../0023-bind-9.9.7-Hide-IRS-resolver-function.patch; \
+ cd -; \
fi
@if test -z "${GMAKE}"; then \
--
2.6.2