openbsd-ports/www/chromium/patches/patch-net_proxy_proxy_service_cc

22 lines
919 B
Plaintext

$OpenBSD: patch-net_proxy_proxy_service_cc,v 1.4 2011/08/16 08:17:44 robert Exp $
--- net/proxy/proxy_service.cc.orig Wed Jul 27 10:01:09 2011
+++ net/proxy/proxy_service.cc Tue Aug 2 20:12:19 2011
@@ -34,7 +34,7 @@
#elif defined(OS_MACOSX)
#include "net/proxy/proxy_config_service_mac.h"
#include "net/proxy/proxy_resolver_mac.h"
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_OPENBSD)) && !defined(OS_CHROMEOS)
#include "net/proxy/proxy_config_service_linux.h"
#endif
@@ -850,7 +850,7 @@ ProxyConfigService* ProxyService::CreateSystemProxyCon
NOTREACHED() << "ProxyConfigService for ChromeOS should be created in "
<< "profile_io_data.cc::CreateProxyConfigService.";
return NULL;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
ProxyConfigServiceLinux* linux_config_service =
new ProxyConfigServiceLinux();