summaryrefslogtreecommitdiff
path: root/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2025-01-10 16:35:09 +0000
committerSam James <sam@gentoo.org>2025-04-24 19:14:55 +0100
commit9347b98112e75fdb803d073f983614cb2ef116a3 (patch)
tree3878212d23d697ad2d7a60ac3ca0b27e81c437db /dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild
parent0fe6d8363acd0154160bacf518356a064b4dd121 (diff)
downloadgentoo-9347b98112e75fdb803d073f983614cb2ef116a3.tar.gz
gentoo-9347b98112e75fdb803d073f983614cb2ef116a3.tar.bz2
gentoo-9347b98112e75fdb803d073f983614cb2ef116a3.zip
dev-cpp/opentelemetry-cpp: fix build with clang, gcc-15 and [prometheus]
Closes: https://bugs.gentoo.org/946146 Closes: https://bugs.gentoo.org/946807 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/40088 Closes: https://github.com/gentoo/gentoo/pull/40088 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild')
-rw-r--r--dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild
index aff74e33e519..77c626523688 100644
--- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild
+++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,9 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
+ prometheus? (
+ dev-cpp/prometheus-cpp
+ )
test? (
dev-cpp/gtest
dev-cpp/benchmark
@@ -33,7 +36,9 @@ RESTRICT="!test? ( test )"
PATCHES=(
# remove tests the need network
- "${FILESDIR}/opentelemetry-cpp-1.5.0-tests.patch"
+ "${FILESDIR}/${PN}-1.5.0-tests.patch"
+ "${FILESDIR}/${PN}-1.16.1-cstdint.patch"
+ "${FILESDIR}/${PN}-1.16.1-fix-clang-template.patch"
)
src_configure() {