Added conditional to dropped macro RES_USE_INET6
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
d588b64057
commit
db95d22b84
@ -1,8 +1,8 @@
|
||||
diff --git a/src/dns/dns_str_resflags.c b/src/dns/dns_str_resflags.c
|
||||
index 5f2cce5..8b50a39 100644
|
||||
index 5f2cce5..df32345 100644
|
||||
--- a/src/dns/dns_str_resflags.c
|
||||
+++ b/src/dns/dns_str_resflags.c
|
||||
@@ -60,8 +60,12 @@ static const LONG_NAME_MASK resflag_table[] = {
|
||||
@@ -60,10 +60,16 @@ static const LONG_NAME_MASK resflag_table[] = {
|
||||
"RES_DEFNAMES", RES_DEFNAMES,
|
||||
"RES_STAYOPEN", RES_STAYOPEN,
|
||||
"RES_DNSRCH", RES_DNSRCH,
|
||||
@ -13,5 +13,9 @@ index 5f2cce5..8b50a39 100644
|
||||
"RES_INSECURE2", RES_INSECURE2,
|
||||
+#endif
|
||||
"RES_NOALIASES", RES_NOALIASES,
|
||||
+#ifdef RES_USE_INET6
|
||||
"RES_USE_INET6", RES_USE_INET6,
|
||||
+#endif
|
||||
#ifdef RES_ROTATE
|
||||
"RES_ROTATE", RES_ROTATE,
|
||||
#endif
|
@ -93,7 +93,7 @@ Patch9: pflogsumm-1.1.5-datecalc.patch
|
||||
# rhbz#1384871, sent upstream
|
||||
Patch10: pflogsumm-1.1.5-ipv6-warnings-fix.patch
|
||||
Patch11: postfix-3.4.4-chroot-example-fix.patch
|
||||
Patch12: postfix-3.4.4-res-insecure-fix.patch
|
||||
Patch12: postfix-3.4.4-res-macros-fix.patch
|
||||
|
||||
# Optional patches - set the appropriate environment variables to include
|
||||
# them when building the package/spec file
|
||||
@ -229,7 +229,7 @@ pushd pflogsumm-%{pflogsumm_ver}
|
||||
popd
|
||||
%endif
|
||||
%patch11 -p1 -b .chroot-example-fix
|
||||
%patch12 -p1 -b .res-insecure-fix
|
||||
%patch12 -p1 -b .res-macros-fix
|
||||
|
||||
for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS; do
|
||||
iconv -f iso8859-1 -t utf8 -o ${f}{_,} &&
|
||||
@ -758,7 +758,7 @@ fi
|
||||
|
||||
%changelog
|
||||
* Fri May 3 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.4.4-4
|
||||
- Fixed FTBFS with new glibc due to dropped RES_INSECURE1/2 macros
|
||||
- Fixed FTBFS with new glibc due to dropped RES macros
|
||||
|
||||
* Fri May 3 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.4.4-3
|
||||
- Added findutils as explicit requirement
|
||||
|
Loading…
Reference in New Issue
Block a user