diff options
author | rene <rene@FreeBSD.org> | 2013-08-27 00:13:17 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-08-27 00:13:17 +0800 |
commit | 4dc0a9d816713ccd4a5f1622d27fab099fcb92d2 (patch) | |
tree | f1a32178c1dd0c5df2cdab3a5a492a7fd8eacf78 /www/chromium | |
parent | 1851b95b9492315bfd099d4f65c9edda47271bb4 (diff) | |
download | freebsd-ports-gnome-4dc0a9d816713ccd4a5f1622d27fab099fcb92d2.tar.gz freebsd-ports-gnome-4dc0a9d816713ccd4a5f1622d27fab099fcb92d2.tar.zst freebsd-ports-gnome-4dc0a9d816713ccd4a5f1622d27fab099fcb92d2.zip |
Fix build on 9.X-i386
Reported by: John Marshall <john.marshall@riverwillow.com.au>
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/files/patch-net__dns__dns_session.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-net__dns__dns_session.cc b/www/chromium/files/patch-net__dns__dns_session.cc new file mode 100644 index 000000000000..684caa7ac891 --- /dev/null +++ b/www/chromium/files/patch-net__dns__dns_session.cc @@ -0,0 +1,11 @@ +--- net/dns/dns_session.cc.orig 2013-08-19 01:54:01.000000000 +0200 ++++ net/dns/dns_session.cc 2013-08-26 12:42:02.000000000 +0200 +@@ -176,7 +176,7 @@ + base::TimeDelta current_error = rtt - estimate; + estimate += current_error / 8; // * alpha + base::TimeDelta abs_error = base::TimeDelta::FromInternalValue( +- std::abs(current_error.ToInternalValue())); ++ std::labs(current_error.ToInternalValue())); + deviation += (abs_error - deviation) / 4; // * delta + + // Histogram-based method. |