From 772f95f0c8294f83781ba7ebcdcfd80fed3454cb Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 18 Jul 2020 09:59:43 -0400 Subject: [PATCH] try fix again for constexpr issue with epel gcc --- chromium-84.0.4147.89-el-constexpr.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/chromium-84.0.4147.89-el-constexpr.patch b/chromium-84.0.4147.89-el-constexpr.patch index 78723429..25623d5e 100644 --- a/chromium-84.0.4147.89-el-constexpr.patch +++ b/chromium-84.0.4147.89-el-constexpr.patch @@ -1,6 +1,15 @@ diff -up chromium-84.0.4147.89/base/check_op.h.el-constexpr chromium-84.0.4147.89/base/check_op.h --- chromium-84.0.4147.89/base/check_op.h.el-constexpr 2020-07-18 09:38:18.700433097 -0400 -+++ chromium-84.0.4147.89/base/check_op.h 2020-07-18 09:38:26.698306359 -0400 ++++ chromium-84.0.4147.89/base/check_op.h 2020-07-18 09:59:00.620767263 -0400 +@@ -33,7 +33,7 @@ namespace logging { + + // Functions for turning check operand values into strings. + // Caller takes ownership of the returned string. +-BASE_EXPORT char* CheckOpValueStr(int v); ++BASE_EXPORT constexpr char* CheckOpValueStr(int v); + BASE_EXPORT char* CheckOpValueStr(unsigned v); + BASE_EXPORT char* CheckOpValueStr(long v); + BASE_EXPORT char* CheckOpValueStr(unsigned long v); @@ -124,7 +124,7 @@ class CheckOpResult { // A non-success result. expr_str is something like "foo != bar". v1_str and // v2_str are the stringified run-time values of foo and bar. Takes ownership