summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-17 10:50:24 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-17 10:51:05 -0700
commit5282497562878d60e3dfccd91702f4bdd7969baa (patch)
tree3af7e291724a1ccb4ccafa1948520256ac6fe594 /dev-cpp
parentdev-libs/igraph: version bump to 0.9.4 (diff)
downloadgentoo-5282497562878d60e3dfccd91702f4bdd7969baa.tar.gz
gentoo-5282497562878d60e3dfccd91702f4bdd7969baa.tar.bz2
gentoo-5282497562878d60e3dfccd91702f4bdd7969baa.zip
dev-cpp/abseil-cpp: include limits
Bug: https://bugs.gentoo.org/786726 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20200225.2-r1.ebuild1
-rw-r--r--dev-cpp/abseil-cpp/files/include_limits.patch10
2 files changed, 11 insertions, 0 deletions
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 <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"