summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-net_BUILD.gn
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-07-23 16:31:18 +0000
committerRene Ladan <rene@FreeBSD.org>2020-07-23 16:31:18 +0000
commit651302b592fe54c5197641402df87ff216c27903 (patch)
tree784a10fc6050d3be8786fd6f4f954d7802bd9204 /www/iridium/files/patch-net_BUILD.gn
parentAdd compiler:c++14-lang to USES to atttempt to fix on GCC-based systems: (diff)
www/iridium: update to 2020.04.81
PR: 245959 Submitted by: Matthias Wolf MFH: 2020Q3 Security: any Chromium vulnerability between 73 and 81
Diffstat (limited to 'www/iridium/files/patch-net_BUILD.gn')
-rw-r--r--www/iridium/files/patch-net_BUILD.gn49
1 files changed, 29 insertions, 20 deletions
diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn
index 9df4ab0f017b..2696770beb1c 100644
--- a/www/iridium/files/patch-net_BUILD.gn
+++ b/www/iridium/files/patch-net_BUILD.gn
@@ -1,6 +1,6 @@
---- net/BUILD.gn.orig 2019-03-11 22:01:00 UTC
+--- net/BUILD.gn.orig 2020-03-16 18:40:33 UTC
+++ net/BUILD.gn
-@@ -97,7 +97,7 @@ net_configs = [
+@@ -103,7 +103,7 @@ net_configs = [
"//build/config/compiler:wexit_time_destructors",
]
@@ -9,7 +9,33 @@
net_configs += [ "//build/config/linux:libresolv" ]
}
-@@ -1900,7 +1900,7 @@ component("net") {
+@@ -1247,6 +1247,16 @@ component("net") {
+ ]
+ }
+
++ if (is_bsd) {
++ sources -= [
++ "base/address_tracker_linux.cc",
++ "base/address_tracker_linux.h",
++ "base/network_change_notifier_linux.cc",
++ "base/network_change_notifier_linux.h",
++ "base/network_interfaces_linux.cc"
++ ]
++ }
++
+ if (is_mac) {
+ sources += [
+ "base/network_notification_thread_mac.cc",
+@@ -1373,7 +1383,7 @@ component("net") {
+ }
+ }
+
+- if (is_android || is_chromeos) {
++ if (is_android || is_chromeos || is_bsd) {
+ sources += [
+ "base/network_change_notifier_posix.cc",
+ "base/network_change_notifier_posix.h",
+@@ -1406,7 +1416,7 @@ component("net") {
}
# Use getifaddrs() on POSIX platforms, except Linux and Android.
@@ -18,20 +44,3 @@
sources += [
"base/network_interfaces_getifaddrs.cc",
"base/network_interfaces_getifaddrs.h",
-@@ -1993,6 +1993,16 @@ component("net") {
- ]
-
- sources -= [ "disk_cache/blockfile/file_posix.cc" ]
-+ }
-+
-+ if (is_bsd) {
-+ sources -= [
-+ "base/address_tracker_linux.cc",
-+ "base/address_tracker_linux.h",
-+ "base/network_change_notifier_linux.cc",
-+ "base/network_change_notifier_linux.h",
-+ "base/network_interfaces_linux.cc",
-+ ]
- }
-
- if (is_ios || is_mac) {