CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: updated to 1.6.1
[ports/opt-arm.git] / chromium / chromium-math.h-r0.patch
CommitLineData
5bf2601c
VM
1From 9f63f94a11abc34d40ede8b8712fa15b5844a8c0 Mon Sep 17 00:00:00 2001
2From: Tom Anderson <thomasanderson@chromium.org>
3Date: Sat, 27 Jan 2018 20:03:37 +0000
4Subject: [PATCH] Fix build with glibc 2.27
5
6BUG=806340
7TBR=hamelphi@chromium.org
8
9Change-Id: Ib4e5091212d874d9ad88f3e9a1fdfee3ed7e0d5e
10Reviewed-on: https://chromium-review.googlesource.com/890059
11Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
12Reviewed-by: Philippe Hamel <hamelphi@chromium.org>
13Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
14Cr-Commit-Position: refs/heads/master@{#532249}
15---
16
17diff --git a/components/assist_ranker/ranker_example_util.cc b/components/assist_ranker/ranker_example_util.cc
18index 54d4dbd..ceedd8f 100644
19--- a/components/assist_ranker/ranker_example_util.cc
20+++ b/components/assist_ranker/ranker_example_util.cc
21@@ -2,6 +2,8 @@
22 // Use of this source code is governed by a BSD-style license that can be
23 // found in the LICENSE file.
24
25+#include <math.h>
26+
27 #include "components/assist_ranker/ranker_example_util.h"
28 #include "base/bit_cast.h"
29 #include "base/format_macros.h"