From 5282497562878d60e3dfccd91702f4bdd7969baa Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 17 Jun 2021 10:50:24 -0700 Subject: dev-cpp/abseil-cpp: include limits Bug: https://bugs.gentoo.org/786726 Signed-off-by: Georgy Yakovlev --- dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild | 1 + dev-cpp/abseil-cpp/files/include_limits.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 dev-cpp/abseil-cpp/files/include_limits.patch (limited to 'dev-cpp') diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild index 421632ddb7aa..fe5a91286a00 100644 --- a/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild +++ b/dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild @@ -25,6 +25,7 @@ RESTRICT=test PATCHES=( "${FILESDIR}/${PN}-20200923-arm_no_crypto.patch" + "${FILESDIR}/include_limits.patch" ) src_prepare() { diff --git a/dev-cpp/abseil-cpp/files/include_limits.patch b/dev-cpp/abseil-cpp/files/include_limits.patch new file mode 100644 index 000000000000..c64229db984a --- /dev/null +++ b/dev-cpp/abseil-cpp/files/include_limits.patch @@ -0,0 +1,10 @@ +--- a/absl/synchronization/internal/graphcycles.cc ++++ b/absl/synchronization/internal/graphcycles.cc +@@ -37,6 +37,7 @@ + + #include + #include ++#include + #include "absl/base/internal/hide_ptr.h" + #include "absl/base/internal/raw_logging.h" + #include "absl/base/internal/spinlock.h" -- cgit v1.2.3-65-gdbad