aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/resolver.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-11 14:57:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-11 14:58:01 +0000
commit4906c1cf1625dcb125a2d0937a7893c3adcf0fd0 (patch)
tree41318429a675a7789868ffae36270b72ae7ce70b /community/chromium/resolver.patch
parent22de9094d1563a5a3e7a50bae8ee9280e3791cfb (diff)
downloadaports-4906c1cf1625dcb125a2d0937a7893c3adcf0fd0.tar.bz2
aports-4906c1cf1625dcb125a2d0937a7893c3adcf0fd0.tar.xz
community/chromium: upgrade to 78.0.3904.97
Diffstat (limited to 'community/chromium/resolver.patch')
-rw-r--r--community/chromium/resolver.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/chromium/resolver.patch b/community/chromium/resolver.patch
index da9028f6c7..bcf32995cf 100644
--- a/community/chromium/resolver.patch
+++ b/community/chromium/resolver.patch
@@ -16,13 +16,13 @@ diff --git a/net/dns/host_resolver_manager.cc b/net/dns/host_resolver_manager.cc
index 3c75dde..c748d94 100644
--- ./net/dns/host_resolver_manager.cc
+++ ./net/dns/host_resolver_manager.cc
-@@ -2266,8 +2266,7 @@ HostResolverManager::HostResolverManager(const Options& options,
- NetworkChangeNotifier::AddIPAddressObserver(this);
+@@ -2386,8 +2386,7 @@ HostResolverManager::HostResolverManager(const Options& options,
NetworkChangeNotifier::AddConnectionTypeObserver(this);
- NetworkChangeNotifier::AddDNSObserver(this);
+ if (system_dns_config_notifier_)
+ system_dns_config_notifier_->AddObserver(this);
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) && \
- !defined(OS_ANDROID)
-+#if defined(__GLIBC__)
++#if defined(OS_POSIX) && defined(__GLIBC__)
EnsureDnsReloaderInit();
#endif
@@ -40,3 +40,5 @@ index 90d9958..71d9b4a 100644
DnsReloaderMaybeReload();
#endif
int err = getaddrinfo(host.c_str(), nullptr, &hints, &ai);
+--- ./net/dns/host_resolver_manager.cc.orig
++++ ./net/dns/host_resolver_manager.cc