diff options
Diffstat (limited to 'www/chromium/files/patch-net_BUILD.gn')
-rw-r--r-- | www/chromium/files/patch-net_BUILD.gn | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium/files/patch-net_BUILD.gn b/www/chromium/files/patch-net_BUILD.gn index 0793a036c42e..95db38d89687 100644 --- a/www/chromium/files/patch-net_BUILD.gn +++ b/www/chromium/files/patch-net_BUILD.gn @@ -1,6 +1,6 @@ ---- net/BUILD.gn.orig 2020-07-07 21:58:16 UTC +--- net/BUILD.gn.orig 2020-09-08 19:14:08 UTC +++ net/BUILD.gn -@@ -103,7 +103,7 @@ net_configs = [ +@@ -99,7 +99,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] @@ -9,7 +9,7 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1251,6 +1251,16 @@ component("net") { +@@ -1253,6 +1253,16 @@ component("net") { ] } @@ -26,7 +26,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1381,7 +1391,7 @@ component("net") { +@@ -1383,7 +1393,7 @@ component("net") { } } @@ -35,12 +35,12 @@ sources += [ "base/network_change_notifier_posix.cc", "base/network_change_notifier_posix.h", -@@ -1414,7 +1424,7 @@ component("net") { +@@ -1416,7 +1426,7 @@ component("net") { } - # Use getifaddrs() on POSIX platforms, except Linux and Android. -- if (is_posix && !is_linux && !is_android) { -+ if (is_posix && ((!is_linux && !is_android) || (is_bsd))) { + # Use getifaddrs() on POSIX platforms, except Linux. +- if (is_posix && !is_linux) { ++ if (is_posix && (!is_linux || is_bsd)) { sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", |