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.3 2011/06/08 20:36:56 robert Exp $
--- net/proxy/proxy_service.cc.orig Wed Jun 8 12:19:09 2011
+++ net/proxy/proxy_service.cc Wed Jun 8 12:19:36 2011
@@ -31,7 +31,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
@@ -807,7 +807,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();