306d54f768
The build with gcc is currently broken, therefor I added a clang build option that is enabled by default for now. The following system libraries are now used: * fontconfig * freetype * harfbuzz-ng * opus * re2 Removed the `use_gconf` gn option because it doesn't exist anymore. Closes #12807
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 9f63f94a11abc34d40ede8b8712fa15b5844a8c0 Mon Sep 17 00:00:00 2001
|
|
From: Tom Anderson <thomasanderson@chromium.org>
|
|
Date: Sat, 27 Jan 2018 20:03:37 +0000
|
|
Subject: [PATCH] Fix build with glibc 2.27
|
|
|
|
BUG=806340
|
|
TBR=hamelphi@chromium.org
|
|
|
|
Change-Id: Ib4e5091212d874d9ad88f3e9a1fdfee3ed7e0d5e
|
|
Reviewed-on: https://chromium-review.googlesource.com/890059
|
|
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
|
|
Reviewed-by: Philippe Hamel <hamelphi@chromium.org>
|
|
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
|
|
Cr-Commit-Position: refs/heads/master@{#532249}
|
|
---
|
|
|
|
diff --git a/components/assist_ranker/ranker_example_util.cc b/components/assist_ranker/ranker_example_util.cc
|
|
index 54d4dbd..ceedd8f 100644
|
|
--- components/assist_ranker/ranker_example_util.cc
|
|
+++ components/assist_ranker/ranker_example_util.cc
|
|
@@ -2,6 +2,8 @@
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
+#include <math.h>
|
|
+
|
|
#include "components/assist_ranker/ranker_example_util.h"
|
|
#include "base/bit_cast.h"
|
|
#include "base/format_macros.h"
|