From 66d46c9897975d9592955817cb33089d97ef17c6 Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Tue, 18 Jun 2019 19:24:43 +0000 Subject: www/iridium: Update to 2019.04.73 Submitted by: Matthias Wolf --- www/iridium/files/patch-net_BUILD.gn | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'www/iridium/files/patch-net_BUILD.gn') diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn index 7a66e7c0b09f..9df4ab0f017b 100644 --- a/www/iridium/files/patch-net_BUILD.gn +++ b/www/iridium/files/patch-net_BUILD.gn @@ -1,15 +1,24 @@ ---- net/BUILD.gn.orig 2017-12-15 02:04:22.000000000 +0100 -+++ net/BUILD.gn 2017-12-30 02:46:23.419099000 +0100 -@@ -99,7 +99,7 @@ - net_configs += [ "//build/config/linux/gconf" ] - } +--- net/BUILD.gn.orig 2019-03-11 22:01:00 UTC ++++ net/BUILD.gn +@@ -97,7 +97,7 @@ net_configs = [ + "//build/config/compiler:wexit_time_destructors", + ] -if (is_linux) { +if (is_linux && !is_bsd) { net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1954,6 +1954,17 @@ +@@ -1900,7 +1900,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))) { + sources += [ + "base/network_interfaces_getifaddrs.cc", + "base/network_interfaces_getifaddrs.h", +@@ -1993,6 +1993,16 @@ component("net") { ] sources -= [ "disk_cache/blockfile/file_posix.cc" ] @@ -23,7 +32,6 @@ + "base/network_change_notifier_linux.h", + "base/network_interfaces_linux.cc", + ] -+ sources += [ "base/network_interfaces_freebsd.cc" ] } if (is_ios || is_mac) { -- cgit v1.2.3