dev-cpp/abseil-cpp: drop obsolete ciso646 workaround

This has been fix in gcc by now.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43085
Closes: https://github.com/gentoo/gentoo/pull/43085
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2025-07-20 20:31:21 +02:00
committed by Sam James
parent 5f43906f20
commit 22b30e5a93
6 changed files with 0 additions and 42 deletions

View File

@@ -36,7 +36,6 @@ PATCHES=(
"${FILESDIR}/${PN}-random-tests.patch" #935417
"${FILESDIR}/${PN}-20230802.0-conditional-use-of-lzcnt.patch" #934337
"${FILESDIR}/${PN}-include-cstdint.patch"
"${FILESDIR}/${PN}-20240722.0-ciso646-cxx17.patch"
)
src_prepare() {

View File

@@ -36,7 +36,6 @@ PATCHES=(
"${FILESDIR}/${PN}-random-tests.patch" #935417
"${FILESDIR}/${PN}-20230802.0-conditional-use-of-lzcnt.patch" #934337
"${FILESDIR}/${PN}-include-cstdint.patch" #937307
"${FILESDIR}/${PN}-20240722.0-ciso646-cxx17.patch"
)
src_prepare() {

View File

@@ -38,7 +38,6 @@ PATCHES=(
"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
"${FILESDIR}/${PN}-include-cstdint.patch" #937307
"${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
"${FILESDIR}/${PN}-20240722.0-ciso646-cxx17.patch"
)
src_prepare() {

View File

@@ -41,7 +41,6 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
"${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
"${FILESDIR}/${PN}-20240722.0-ciso646-cxx17.patch"
"${DISTDIR}/${PN}-20250127.0-PR1834.patch"
)

View File

@@ -41,7 +41,6 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
"${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
"${FILESDIR}/${PN}-20240722.0-ciso646-cxx17.patch"
"${DISTDIR}/${PN}-20250127.0-PR1834.patch"
)

View File

@@ -1,37 +0,0 @@
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