aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/resolver.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-30 13:11:25 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-30 13:11:25 +0200
commitaa03363e4923e2745456359019c2dc08089ab446 (patch)
tree1ea625f4f9c1da39c97ddffde2bc08b3589f1bf9 /community/chromium/resolver.patch
parentf8f12a1762ad21637c24bf91b05725e792871b0f (diff)
downloadaports-aa03363e4923e2745456359019c2dc08089ab446.tar.bz2
aports-aa03363e4923e2745456359019c2dc08089ab446.tar.xz
community/chromium: move from main
Diffstat (limited to 'community/chromium/resolver.patch')
-rw-r--r--community/chromium/resolver.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/chromium/resolver.patch b/community/chromium/resolver.patch
new file mode 100644
index 0000000000..fe1141ecbe
--- /dev/null
+++ b/community/chromium/resolver.patch
@@ -0,0 +1,24 @@
+--- ./net/dns/host_resolver_impl.cc.orig
++++ ./net/dns/host_resolver_impl.cc
+@@ -1881,8 +1881,7 @@
+ #endif
+ NetworkChangeNotifier::AddIPAddressObserver(this);
+ NetworkChangeNotifier::AddDNSObserver(this);
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) && \
+- !defined(OS_ANDROID)
++#if defined(__GLIBC__)
+ EnsureDnsReloaderInit();
+ #endif
+
+--- ./net/dns/host_resolver_proc.cc.orig
++++ ./net/dns/host_resolver_proc.cc
+@@ -193,8 +193,7 @@
+ // Restrict result set to only this socket type to avoid duplicates.
+ hints.ai_socktype = SOCK_STREAM;
+
+-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) && \
+- !defined(OS_ANDROID)
++#if defined(__GLIBC__)
+ DnsReloaderMaybeReload();
+ #endif
+ int err = getaddrinfo(host.c_str(), NULL, &hints, &ai);