diff options
Diffstat (limited to 'devel/electron33/files/patch-net_tools_net__watcher_net__watcher.cc')
-rw-r--r-- | devel/electron33/files/patch-net_tools_net__watcher_net__watcher.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-net_tools_net__watcher_net__watcher.cc b/devel/electron33/files/patch-net_tools_net__watcher_net__watcher.cc deleted file mode 100644 index 1fb0a9a1b91d..000000000000 --- a/devel/electron33/files/patch-net_tools_net__watcher_net__watcher.cc +++ /dev/null @@ -1,29 +0,0 @@ ---- net/tools/net_watcher/net_watcher.cc.orig 2024-06-18 21:43:37 UTC -+++ net/tools/net_watcher/net_watcher.cc -@@ -32,7 +32,7 @@ - #include "net/proxy_resolution/proxy_config_service.h" - #include "net/proxy_resolution/proxy_config_with_annotation.h" - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "net/base/network_change_notifier_linux.h" - #endif - -@@ -44,7 +44,7 @@ namespace { - - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Flag to specifies which network interfaces to ignore. Interfaces should - // follow as a comma seperated list. - const char kIgnoreNetifFlag[] = "ignore-netif"; -@@ -163,7 +163,7 @@ int main(int argc, char* argv[]) { - - NetWatcher net_watcher; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); - std::string ignored_netifs_str = - command_line->GetSwitchValueASCII(kIgnoreNetifFlag); |