dev-cpp/abseil-cpp: include limits

Bug: https://bugs.gentoo.org/786726
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2021-06-17 10:51:05 -07:00
parent ca40f30da5
commit 5282497562
2 changed files with 11 additions and 0 deletions
@@ -25,6 +25,7 @@ RESTRICT=test
PATCHES=(
"${FILESDIR}/${PN}-20200923-arm_no_crypto.patch"
"${FILESDIR}/include_limits.patch"
)
src_prepare() {
@@ -0,0 +1,10 @@
--- a/absl/synchronization/internal/graphcycles.cc
+++ b/absl/synchronization/internal/graphcycles.cc
@@ -37,6 +37,7 @@
#include <algorithm>
#include <array>
+#include <limits>
#include "absl/base/internal/hide_ptr.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/internal/spinlock.h"