benchmark fails to build on gcc-11 as: ``` benchmark/src/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std' 17 | static const T kmax = std::numeric_limits<T>::max(); | ^~~~~~~~~~~~~~ ``` Fixed upstream as: https://github.com/google/benchmark/commit/3d1c2677686718d906f28c1d4da001c42666e6d2.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4add4f893cf2fb16b18d3c15bc9948a80802b66f commit 4add4f893cf2fb16b18d3c15bc9948a80802b66f Author: William Breathitt Gray <vilhelm.gray@gmail.com> AuthorDate: 2021-01-09 21:37:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-11 17:45:25 +0000 dev-cpp/benchmark: Add patch to fix build failure on gcc-11 Closes: https://bugs.gentoo.org/764647 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19012 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-cpp/benchmark/benchmark-1.5.2.ebuild | 4 +++ ...chmark-1.5.2-Add-missing-limits-inclusion.patch | 30 ++++++++++++++++++++++ 2 files changed, 34 insertions(+)