1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/chromium/files/patch-net__base__dnsrr_resolver.cc
Rene Ladan f3285ad410 Update to 10.0.648.204, which is the latest release from the Stable series.
There are still some problems with it on 8.X (and presumably 7.X), see
pkg-message for a possible workaround.

This would not have been possible without:
- portmgr@ for drawing me into this in October last year
- beat@ for providing a development repository
- dhw@ for creating the freebsd-chromium list
- all the patch contributors and testers on the freebsd-chromium list
2011-04-01 16:45:01 +00:00

25 lines
531 B
C++

--- net/base/dnsrr_resolver.cc.orig 2011-01-19 12:11:29.000000000 +0100
+++ net/base/dnsrr_resolver.cc 2011-01-21 20:49:12.000000000 +0100
@@ -4,10 +4,6 @@
#include "net/base/dnsrr_resolver.h"
-#if defined(OS_POSIX)
-#include <resolv.h>
-#endif
-
#if defined(OS_WIN)
#include <windns.h>
#endif
@@ -23,6 +19,10 @@
#include "net/base/dns_reload_timer.h"
#include "net/base/dns_util.h"
#include "net/base/net_errors.h"
+#if defined(OS_POSIX)
+#include <netinet/in.h>
+#include <resolv.h>
+#endif
// Life of a query:
//