openbsd-ports/www/chromium/patches/patch-net_proxy_proxy_service_cc
espie ae6e8f236b late update to chromium 9, robert@ did the work, but he doesn't have the
time right now.
Tree is still locked!
Reasons for the update:
- good work that can be used now
- only builds on i386/amd64, and they're fast
- multiple security problems in old chrome
- old chrome half working, can't break it more than it was.

This one requires resources (see MESSAGE), but it's ways more stable.

Again, discussed with sthen@, jasper@, naddy@, miod@
2011-02-08 09:43:02 +00:00

22 lines
964 B
Plaintext

$OpenBSD: patch-net_proxy_proxy_service_cc,v 1.1 2011/02/08 09:43:02 espie Exp $
--- net/proxy/proxy_service.cc.orig Fri Jan 21 10:19:56 2011
+++ net/proxy/proxy_service.cc Sun Jan 23 23:27:35 2011
@@ -26,7 +26,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_CHROMEOS) || defined(OS_OPENBSD)
#include "net/proxy/proxy_config_service_linux.h"
#endif
#include "net/proxy/proxy_resolver.h"
@@ -790,7 +790,7 @@ ProxyConfigService* ProxyService::CreateSystemProxyCon
NOTREACHED() << "ProxyConfigService for ChromeOS should be created in "
<< "chrome_url_request_context.cc::CreateProxyConfigService.";
return NULL;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
ProxyConfigServiceLinux* linux_config_service
= new ProxyConfigServiceLinux();