devel/opentelemetry-cpp: Revert 4030b7d57c68fda7bad3230379790065dbb1ed39
libc4core.so is an indirect dependency brought by devel/rapidyaml.
Since it is not a direct dependency, it should not be added to LIB_DEPENDS.
devel/opentelemetry-cpp: fix build error
Added devel/c4core as a lib dependency:
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libopentelemetry_configuration.so.1.24.0 is linked to
/usr/local/lib/libc4core.so.0.2.6 from devel/c4core but it is not declared as a
dependency
Warning: you need LIB_DEPENDS+=libc4core.so:devel/c4core
Warning: you might not need LIB_DEPENDS on libcurl.so
Warning: you might not need LIB_DEPENDS on libgtest.so
*** Error code 1
Approved by: just-fix-it
devel/opentelemetry-cpp: fix build with clang 19
Clang 19 now implements CWG 96 [1], which requires a template argument
list after a 'template' keyword, resulting in errors similar to:
/wrkdirs/usr/ports/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/logger_type_traits.h:169:69:
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
169 | return LogRecordSetterTrait<common::KeyValueIterable>::template
Set(
|
^
/wrkdirs/usr/ports/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/logger.h:76:89:
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
76 | detail::LogRecordSetterTrait<typename
std::decay<ArgumentType>::type>::template Set(
|
^
/wrkdirs/usr/ports/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/event_logger.h:69:89:
error: a template argument list is expected after a name prefixed by the
template keyword [-Wmissing-template-arg-list-after-template-kw]
69 | detail::LogRecordSetterTrait<typename
std::decay<ArgumentType>::type>::template Set(
|
^
In these cases, appending "<>" is enough to satisfy the constraint.
PR: 281359
Approved by: osa (maintainer)
MFH: 2024Q3
devel/googletest: Update to 1.15.0
- Update MASTER_SITES: use upstream release tarball
- Use USES=pathfix to fix .pc installation
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/google/googletest/releases