blob: 069e8423d786cd9bc11c73d487bb602f416ea865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
This enumeration value is deprecated in /usr/include/resolv.h:
#define RES_AAONLY \
__glibc_macro_warning ("RES_AAONLY is deprecated") 0x00000004
Since Gentoo is not using outdated glibc version it is safe to disable it.
--- a/dns.c
+++ b/dns.c
@@ -150,7 +150,6 @@
struct hostent *hp;
options = _res.options;
- _res.options |= RES_AAONLY;
_res.options &= ~(RES_DEFNAMES | RES_DNSRCH);
hp = gethostbyaddr((char *)&a, sizeof(a), AF_INET);
_res.options = options;
|