diff options
| author | Paul Zander <negril.nx+gentoo@gmail.com> | 2025-03-03 16:27:40 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-04-05 01:39:47 +0100 |
| commit | 118f77923e182362bb1bcb45756c4679251dcdbf (patch) | |
| tree | 081d0ff89ffef4d0ea5f5b1c7dcdf003020ab03b /dev-cpp/abseil-cpp/files | |
| parent | 731ffdda061a686174130a2babd3f9264d11234a (diff) | |
| download | gentoo-118f77923e182362bb1bcb45756c4679251dcdbf.tar.gz gentoo-118f77923e182362bb1bcb45756c4679251dcdbf.tar.bz2 gentoo-118f77923e182362bb1bcb45756c4679251dcdbf.zip | |
dev-cpp/abseil-cpp: add 20250127.0, 20240722.1, 20240116.3, 20230802.3
Closes: https://bugs.gentoo.org/942192
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/abseil-cpp/files')
| -rw-r--r-- | dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-ciso646-cxx17.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-ciso646-cxx17.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-ciso646-cxx17.patch new file mode 100644 index 000000000000..8cc39ee9fc58 --- /dev/null +++ b/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-ciso646-cxx17.patch @@ -0,0 +1,37 @@ +From 6be17375f9142017d34bd0b577cdf4e91225c135 Mon Sep 17 00:00:00 2001 +From: Paul Zander <negril.nx+gentoo@gmail.com> +Date: Fri, 22 Nov 2024 19:46:05 +0100 +Subject: [PATCH] don't include <ciso646> with c++17 + +[179/825] Building CXX object absl/log/CMakeFiles/log_globals.dir/globals.cc.o +In file included from +/var/tmp/paludis/dev-cpp-abseil-cpp-20240722.0/work/abseil-cpp-20240722.0/absl/hash/internal/hash.h:33, +from +/var/tmp/paludis/dev-cpp-abseil-cpp-20240722.0/work/abseil-cpp-20240722.0/absl/hash/hash.h:85, +from +/var/tmp/paludis/dev-cpp-abseil-cpp-20240722.0/work/abseil-cpp-20240722.0/absl/log/globals.cc:29: +/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ciso646:46:4: warning: +#warning "<ciso646> is deprecated in C++17, use <version> to detect +implementation-specific macros" [-Wcpp] +46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect +implementation-specific macros" + | ^~~~~~~ + +Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> + +diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h +index 03bf183..3222be3 100644 +--- a/absl/hash/internal/hash.h ++++ b/absl/hash/internal/hash.h +@@ -27,7 +27,7 @@ + #include "absl/base/config.h" + + // For feature testing and determining which headers can be included. +-#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L ++#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L + #include <version> + #else + #include <ciso646> +-- +2.47.0 + |
