lttng-tools: update to 2.15.0
authorAlexandru Ardelean <redacted>
Wed, 22 Apr 2026 09:27:32 +0000 (12:27 +0300)
committerAlexandru Ardelean <redacted>
Sun, 10 May 2026 08:31:30 +0000 (11:31 +0300)
commit8dbb989cb7db7174d4b2a3b992b489bba96577e7
tree0d009a104545f3fd59650c069d868b718bd376d9
parenta6ea77f3b2eb50bc7ee07c38b3c722f776244e8c
lttng-tools: update to 2.15.0

Remove obsolete patches:
- 010-compat-off64_t-is-not-defined-by-musl.patch: the patched files
  (src/common/compat/compat-fcntl.c and src/common/compat/fcntl.h)
  no longer exist in 2.15.0
- 020-fix-lttng-tools-fails-to-compile-with-libxml2-2-14-0.patch: the
  encode_string() function was refactored in 2.15.0 to use
  xmlCharEncInFunc() instead of handler->input(), so the fix is no
  longer needed

Add musl compatibility fixes in Build/Prepare via sed:
- Remove :: global-namespace qualifier from TFD_CLOEXEC in timerfd.hpp;
  musl defines it as an octal literal so ::TFD_CLOEXEC is invalid C++
- Same fix for EPOLL_CLOEXEC in poller.cpp
- Relax static_assert in consumer.hpp from __cplusplus == 201103L to
  >= 201103L; SDK builds with C++17

Add missing +libstdcpp to DEPENDS (lttng-tools links libstdc++.so.6).

Signed-off-by: Alexandru Ardelean <redacted>
devel/lttng-tools/Makefile
devel/lttng-tools/patches/010-compat-off64_t-is-not-defined-by-musl.patch [deleted file]
devel/lttng-tools/patches/020-fix-lttng-tools-fails-to-compile-with-libxml2-2-14-0.patch [deleted file]
devel/lttng-tools/test.sh [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT