summaryrefslogtreecommitdiff
path: root/dev-cpp/abseil-cpp
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-cpp/abseil-cpp
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-cpp/abseil-cpp')
-rw-r--r--dev-cpp/abseil-cpp/Manifest6
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20250127.1.ebuild106
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild103
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild110
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20260107.1.ebuild121
-rw-r--r--dev-cpp/abseil-cpp/files/abseil-cpp-20230802.0-sdata-tests.patch41
-rw-r--r--dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-lto-odr.patch30
-rw-r--r--dev-cpp/abseil-cpp/files/abseil-cpp-atomic.patch18
-rw-r--r--dev-cpp/abseil-cpp/metadata.xml16
9 files changed, 551 insertions, 0 deletions
diff --git a/dev-cpp/abseil-cpp/Manifest b/dev-cpp/abseil-cpp/Manifest
new file mode 100644
index 000000000000..f1e04e0fe1e4
--- /dev/null
+++ b/dev-cpp/abseil-cpp/Manifest
@@ -0,0 +1,6 @@
+DIST abseil-cpp-20250127.0-PR1834.patch 968 BLAKE2B b563725afcae9fcbddde9aef1e492ed9ca13201a3cb817044c2fa62a8d47d79600a2b1cb6018bb12a21a27fe765ab4a6f1b43239401d97962fd794520cff3ded SHA512 28bd3cea659ba400da928d8ce2bdf6a8dd25a3991abdca74b6cf7893e0ac206eb95b6f94beeb0a02516b4403da20e088e42553705c024f5f5730281248c2acaf
+DIST abseil-cpp-20250127.1.tar.gz 2267282 BLAKE2B 61a6f0340c3883f097c56161d67f0046398513ef716d33a7b26e55e33032262f2e5f02c678318688f7f72a5eea7a88b37abf6d2f84e52626a258c497bea80a83 SHA512 8312acf0ed74fa28c6397f3e41ada656dbd5ca2bf8db484319d74b144ad19c0ebdc77f7f03436be6c6ca1cde706b9055079233cf0d6b5ada4ca48406f8a55dd8
+DIST abseil-cpp-20250512.1.tar.gz 2221441 BLAKE2B f84faffcc606b0e4ece3cd8494e6727d74faf74c2900928c317dbce1393a4e3095ecdea4529311323b99459879957841a7300fed0499eba28fc9d764c9ddca40 SHA512 d3ba654ed7dd7b432494918b2de5d8e2b0ad1c42752c5d726f20d6fe2841828fb4e8beb853e3570a11efecef725029ce5ffa3ebc434efff007e7f60735eb9856
+DIST abseil-cpp-20250814.1.tar.gz 2235716 BLAKE2B ae29b10f7efb18e20a4c7e4931f20ee169775022cd9ce15c0a23e28a2c3c577d2cf30f60f0890112e45378684485b8b11b101eaf6827faa604e5ef38fb794862 SHA512 7083b73c3cf763f6f7a7edb70a5171f44d27045a0f5e52ca043e0a86379af2c50cf85dbfea30ebaa22a7bb2929452581d26b1ba18945023b057267d4c3bad2f7
+DIST abseil-cpp-20260107.0-c++23.patch 3916 BLAKE2B 63d23b1604d43f1954e51569c77f122aa93a96ceafd6f8edd8d5500140804b564f0b23f9d10432ed9ec83ec99dc852cedbf31ec9be1ceba571550a1ed711adaa SHA512 a37dd86d6cf985a614419c5cb7931535cb7624c6684ca8044fc775b7715730c8d65cd7d66616a4b09e0e1edd69390e81d5c9fad0288d7b5e140063ac6e863fe8
+DIST abseil-cpp-20260107.1.tar.gz 2301097 BLAKE2B 1c0814eefb6181a82437128c9d3c08dec0540c2353b8a317204c49b1510b311173897de4a737da6f0cc034bf1b23717dea54f0338e3794f6a56f7292f53937bc SHA512 f5012885d6b6844a9cf5ed92ad5468b8757db33dfe1364bfb232fff928e06c550c7eb4557f45186a8ac4d18b178df9be267681abab4a6de40823b574afbe9960
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20250127.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20250127.1.ebuild
new file mode 100644
index 000000000000..faaba9f1d085
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20250127.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit cmake-multilib python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io/"
+SRC_URI="
+ https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/abseil/abseil-cpp/commit/f004e6c0a9a25e16fd2a1ae671a9cacfa79625b4.patch
+ -> ${PN}-20250127.0-PR1834.patch
+"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV:2:4}.$(ver_cut 2).0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
+IUSE="test test-helpers"
+
+RDEPEND="
+ test? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+ test-helpers? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ sys-libs/timezone-data
+ )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
+ "${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
+ "${DISTDIR}/${PN}-20250127.0-PR1834.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ use ppc && eapply "${FILESDIR}/${PN}-atomic.patch"
+
+ # un-hardcode abseil compiler flags
+ # 942192
+ sed -i \
+ -e '/NOMINMAX/d' \
+ absl/copts/copts.py || die
+
+ # now generate cmake files
+ python_fix_shebang absl/copts/generate_copts.py
+ absl/copts/generate_copts.py || die
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=17
+ -DABSL_ENABLE_INSTALL="yes"
+ -DABSL_USE_EXTERNAL_GOOGLETEST="yes"
+ -DABSL_PROPAGATE_CXX_STD="yes"
+
+ # TEST_HELPERS needed for protobuf (bug #915902)
+ -DABSL_BUILD_TEST_HELPERS="$(usex test-helpers)"
+
+ -DABSL_BUILD_TESTING="$(usex test)"
+ )
+ # intentional use, it requires both variables for tests.
+ # (BUILD_TESTING AND ABSL_BUILD_TESTING)
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING="yes"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ if ! use amd64; then
+ CMAKE_SKIP_TESTS=(
+ absl_symbolize_test
+ )
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
+ else
+ if ! multilib_is_native_abi; then
+ CMAKE_SKIP_TESTS+=(
+ absl_hash_instantiated_test
+ )
+ fi
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild
new file mode 100644
index 000000000000..1389c73045da
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20250512.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit cmake-multilib python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io/"
+SRC_URI="
+ https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV:2:4}.$(ver_cut 2).0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
+IUSE="test test-helpers"
+
+RDEPEND="
+ test? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+ test-helpers? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ sys-libs/timezone-data
+ )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
+ "${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ use ppc && eapply "${FILESDIR}/${PN}-atomic.patch"
+
+ # un-hardcode abseil compiler flags
+ # 942192
+ sed -i \
+ -e '/NOMINMAX/d' \
+ absl/copts/copts.py || die
+
+ # now generate cmake files
+ python_fix_shebang absl/copts/generate_copts.py
+ absl/copts/generate_copts.py || die
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=17
+ -DABSL_ENABLE_INSTALL="yes"
+ -DABSL_USE_EXTERNAL_GOOGLETEST="yes"
+ -DABSL_PROPAGATE_CXX_STD="yes"
+
+ # TEST_HELPERS needed for protobuf (bug #915902)
+ -DABSL_BUILD_TEST_HELPERS="$(usex test-helpers)"
+
+ -DABSL_BUILD_TESTING="$(usex test)"
+ )
+ # intentional use, it requires both variables for tests.
+ # (BUILD_TESTING AND ABSL_BUILD_TESTING)
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING="yes"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ if ! use amd64; then
+ CMAKE_SKIP_TESTS=(
+ absl_symbolize_test
+ )
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
+ else
+ if ! multilib_is_native_abi; then
+ CMAKE_SKIP_TESTS+=(
+ absl_hash_instantiated_test
+ )
+ fi
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild
new file mode 100644
index 000000000000..75d636877c1b
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit cmake-multilib flag-o-matic python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io/"
+SRC_URI="
+ https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="Apache-2.0"
+
+# ABI, we want rebuilds to avoid hidden breakage
+SLOT="0/${PV:2:4}.$(ver_cut 2).0"
+# SONAME
+# SLOT="0/${PV:2:4}.0.0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="debug test test-helpers"
+
+RDEPEND="
+ test? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+ test-helpers? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ sys-libs/timezone-data
+ )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
+ "${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ use ppc && eapply "${FILESDIR}/${PN}-atomic.patch"
+
+ # un-hardcode abseil compiler flags
+ # 942192
+ sed -i \
+ -e '/NOMINMAX/d' \
+ absl/copts/copts.py || die
+
+ # now generate cmake files
+ python_fix_shebang absl/copts/generate_copts.py
+ absl/copts/generate_copts.py || die
+}
+
+multilib_src_configure() {
+ append-cxxflags $(usex debug '-DDEBUG' '-DNDEBUG')
+
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=17
+ -DABSL_ENABLE_INSTALL="yes"
+ -DABSL_USE_EXTERNAL_GOOGLETEST="yes"
+ -DABSL_PROPAGATE_CXX_STD="yes"
+
+ # TEST_HELPERS needed for protobuf (bug #915902)
+ -DABSL_BUILD_TEST_HELPERS="$(usex test-helpers)"
+
+ -DABSL_BUILD_TESTING="$(usex test)"
+ )
+ # intentional use, it requires both variables for tests.
+ # (BUILD_TESTING AND ABSL_BUILD_TESTING)
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING="yes"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ if ! use amd64; then
+ CMAKE_SKIP_TESTS=(
+ absl_symbolize_test
+ )
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
+ else
+ if ! multilib_is_native_abi; then
+ CMAKE_SKIP_TESTS+=(
+ absl_hash_instantiated_test
+ )
+ fi
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20260107.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20260107.1.ebuild
new file mode 100644
index 000000000000..28eec7738a8e
--- /dev/null
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20260107.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 2020-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit cmake-multilib edo flag-o-matic python-any-r1
+
+DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
+HOMEPAGE="https://abseil.io/"
+SRC_URI="
+ https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/abseil/abseil-cpp/commit/28e6a799ba550f8d499bfda5e100d16937804f72.patch
+ -> ${PN}-20260107.0-c++23.patch
+"
+
+LICENSE="Apache-2.0"
+
+# ABI, we want rebuilds to avoid hidden breakage
+SLOT="0/${PV:2:4}.$(ver_cut 2).0-cpp20"
+# SONAME
+# SLOT="0/${PV:2:4}.0.0-cpp20"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+IUSE="debug test test-helpers"
+
+RDEPEND="
+ test? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+ test-helpers? (
+ dev-cpp/gtest:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ test? (
+ sys-libs/timezone-data
+ )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
+ "${FILESDIR}/${PN}-20240722.0-lto-odr.patch"
+ # https://github.com/abseil/abseil-cpp/issues/1992
+ "${DISTDIR}/${PN}-20260107.0-c++23.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ use ppc && eapply "${FILESDIR}/${PN}-atomic.patch"
+
+ # un-hardcode abseil compiler flags
+ # 942192
+ sed -i \
+ -e '/NOMINMAX/d' \
+ absl/copts/copts.py || die
+
+ # now generate cmake files
+ python_fix_shebang absl/copts/generate_copts.py
+ edo absl/copts/generate_copts.py
+}
+
+multilib_src_configure() {
+ append-cxxflags "$(usex debug '-DDEBUG' '-DNDEBUG')"
+
+ if [[ ${ABI} == x86 ]]; then
+ # error: ‘_mm_cvtsi128_si64’ was not declared in this scope
+ # maybe fixed in 4bd9ee20
+ local _CXXFLAGS="${CXXFLAGS}"
+ local CXXFLAGS="${_CXXFLAGS} -mno-aes"
+ fi
+
+ local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=20
+ -DABSL_ENABLE_INSTALL="yes"
+ -DABSL_USE_EXTERNAL_GOOGLETEST="yes"
+ -DABSL_PROPAGATE_CXX_STD="yes"
+
+ # TEST_HELPERS needed for protobuf (bug #915902)
+ -DABSL_BUILD_TEST_HELPERS="$(usex test-helpers)"
+
+ -DABSL_BUILD_TESTING="$(usex test)"
+ )
+ # intentional use, it requires both variables for tests.
+ # (BUILD_TESTING AND ABSL_BUILD_TESTING)
+ if use test; then
+ mycmakeargs+=(
+ -DBUILD_TESTING="yes"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ if ! use amd64; then
+ CMAKE_SKIP_TESTS=(
+ absl_symbolize_test
+ )
+
+ if use ppc; then
+ CMAKE_SKIP_TESTS+=(
+ absl_failure_signal_handler_test
+ )
+ fi
+ else
+ if ! multilib_is_native_abi; then
+ CMAKE_SKIP_TESTS+=(
+ absl_hash_instantiated_test
+ )
+ fi
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-20230802.0-sdata-tests.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-20230802.0-sdata-tests.patch
new file mode 100644
index 000000000000..67d3a9697731
--- /dev/null
+++ b/dev-cpp/abseil-cpp/files/abseil-cpp-20230802.0-sdata-tests.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/show_bug.cgi?id=917062
+https://github.com/matoro/abseil-cpp/commit/cc37c61553fa2a186d4abf48e97ad9df4e5d62e3
+
+From cc37c61553fa2a186d4abf48e97ad9df4e5d62e3 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Tue, 14 Nov 2023 10:39:34 -0500
+Subject: [PATCH] symbolize_test: account for platforms with ".sdata" small
+ data sections
+
+A handful of ELF targets use a ".sdata" section for small data. The
+default maximum size of symbols in this section as well as the gcc flag
+to change that maximum size differ between two targets. On such
+platforms, if there is no data large enough to exceed the small data
+limit then the ".data" section will be excluded entirely. This changes
+the check to ensure that at least one of a ".sdata" section OR a ".data"
+section is present.
+---
+ absl/debugging/symbolize_test.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/absl/debugging/symbolize_test.cc b/absl/debugging/symbolize_test.cc
+index d0feab2ffa6..1e4b5ba6105 100644
+--- a/absl/debugging/symbolize_test.cc
++++ b/absl/debugging/symbolize_test.cc
+@@ -44,6 +44,7 @@
+ #define MAP_ANONYMOUS MAP_ANON
+ #endif
+
++using testing::AnyOf;
+ using testing::Contains;
+
+ #ifdef _WIN32
+@@ -456,7 +457,7 @@ TEST(Symbolize, ForEachSection) {
+ EXPECT_THAT(sections, Contains(".rodata"));
+ EXPECT_THAT(sections, Contains(".bss"));
+ ++in_data_section;
+- EXPECT_THAT(sections, Contains(".data"));
++ EXPECT_THAT(sections, AnyOf(Contains(".data"), Contains(".sdata")));
+
+ close(fd);
+ }
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-lto-odr.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-lto-odr.patch
new file mode 100644
index 000000000000..93c07b701948
--- /dev/null
+++ b/dev-cpp/abseil-cpp/files/abseil-cpp-20240722.0-lto-odr.patch
@@ -0,0 +1,30 @@
+From 05ed7fe8985d4903fb33031519eb3bc3d1211fa9 Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Fri, 30 Aug 2024 02:14:26 +0200
+Subject: [PATCH] lto odr
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+diff --git a/absl/flags/CMakeLists.txt b/absl/flags/CMakeLists.txt
+index 7376d11..9914f73 100644
+--- a/absl/flags/CMakeLists.txt
++++ b/absl/flags/CMakeLists.txt
+@@ -326,6 +326,7 @@ absl_cc_test(
+ GTest::gtest_main
+ )
+
++#[===[
+ absl_cc_test(
+ NAME
+ flags_flag_test
+@@ -349,6 +350,7 @@ absl_cc_test(
+ absl::time
+ GTest::gtest_main
+ )
++]===]
+
+ absl_cc_test(
+ NAME
+--
+2.46.0
+
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-atomic.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-atomic.patch
new file mode 100644
index 000000000000..4a999760eb0f
--- /dev/null
+++ b/dev-cpp/abseil-cpp/files/abseil-cpp-atomic.patch
@@ -0,0 +1,18 @@
+From beee02af5b83cfe72159e2579fa3c6e0fb8f93db Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Sun, 8 Sep 2024 17:09:17 +0200
+Subject: [PATCH] link to atomic on ppc
+
+Bug: https://bugs.gentoo.org/918981
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+--- a/absl/base/CMakeLists.txt
++++ b/absl/base/CMakeLists.txt
+@@ -131,6 +131,7 @@ absl_cc_library(
+ absl::base_internal
+ absl::core_headers
+ absl::errno_saver
++ atomic
+ )
+
+ absl_cc_library(
diff --git a/dev-cpp/abseil-cpp/metadata.xml b/dev-cpp/abseil-cpp/metadata.xml
new file mode 100644
index 000000000000..309ed23cbc8f
--- /dev/null
+++ b/dev-cpp/abseil-cpp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>negril.nx+gentoo@gmail.com</email>
+ <name>Paul Zander</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="test-helpers">Build libraries that you can use to write tests against Abseil code.</flag>
+ </use>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>