aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-04-20 06:25:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-20 14:35:51 +0000
commit31b7a849b45f82dbe9784f3d6c15dea098af7041 (patch)
tree02e636fa4ad132e6a32ca5d555bb221956957c66 /community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch
parent3070ca7ff0d0e5a4417f40cd226896705a9751cc (diff)
downloadaports-31b7a849b45f82dbe9784f3d6c15dea098af7041.tar.bz2
aports-31b7a849b45f82dbe9784f3d6c15dea098af7041.tar.xz
community/chromium: upgrade to 81.0.4044.113
Diffstat (limited to 'community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch')
-rw-r--r--community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch b/community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch
deleted file mode 100644
index 200478e607..0000000000
--- a/community/chromium/upstream-cros-search-service-Include-cmath-for-std-pow.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8273f4d3130e06fd8b6bef87b07c936304b971d9 Mon Sep 17 00:00:00 2001
-From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-Date: Tue, 10 Dec 2019 20:59:57 +0000
-Subject: [PATCH] [cros search service]: Include <cmath> for std::pow()
-
-IWYU. Follow up to commit 2b2ea3c09b ("[cros search service] Move shared
-string matching functions to //chrome"), which broke the libstdc++ build:
-
- ../../chrome/common/string_matching/fuzzy_tokenized_string_match.cc:199:14: error: no member named 'pow' in namespace 'std'
- std::pow(partial_match_penalty_rate, long_start - current - 1);
- ~~~~~^
-
-Bug: 957519
-Change-Id: I66f61cb4f93cfa0bfa3d1b00ba391ddd8f31a7fb
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960310
-Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-Reviewed-by: Jia Meng <jiameng@chromium.org>
-Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
-Cr-Commit-Position: refs/heads/master@{#723499}
----
- chrome/common/string_matching/fuzzy_tokenized_string_match.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/chrome/common/string_matching/fuzzy_tokenized_string_match.cc b/chrome/common/string_matching/fuzzy_tokenized_string_match.cc
-index 8351fa701e4..884ef638c61 100644
---- chrome/common/string_matching/fuzzy_tokenized_string_match.cc
-+++ chrome/common/string_matching/fuzzy_tokenized_string_match.cc
-@@ -5,6 +5,7 @@
- #include "chrome/common/string_matching/fuzzy_tokenized_string_match.h"
-
- #include <algorithm>
-+#include <cmath>
- #include <iterator>
-
- #include "base/i18n/case_conversion.h"