lttng-tools: update to 2.10.2.

Closes: #11425 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-06 17:26:27 -02:00 committed by Michael Aldridge
parent 917b724cef
commit 98c9d7849c
2 changed files with 2 additions and 25 deletions

View File

@ -8,26 +8,3 @@
#include <pthread.h> #include <pthread.h>
#include <common/macros.h> #include <common/macros.h>
--- tests/regression/ust/ust-dl/prog.c 2017-08-03 21:42:22.130585910 +0200
+++ tests/regression/ust/ust-dl/prog.c 2017-12-16 20:33:52.906200900 +0100
@@ -13,6 +13,10 @@
*/
int main(int argc, char **argv)
{
+/*
+ * Note: musl libc does not support dlmopen(3) so make this fail
+ */
+#if defined(__GLIBC__)
void *h0, *h1, *h2, *h3, *h4;
char *error;
int (*foo)(void);
@@ -67,6 +71,9 @@
get_error:
error = dlerror();
error:
+#else /* defined(__GLIBC__) */
+ const char* error = "dlmopen(3) not supported";
+#endif /* defined(__GLIBC__) */
fprintf(stderr, "%s\n", error);
exit(EXIT_FAILURE);
}

View File

@ -1,6 +1,6 @@
# template file for 'lttng-tools' # template file for 'lttng-tools'
pkgname=lttng-tools pkgname=lttng-tools
version=2.10.1 version=2.10.2
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -12,7 +12,7 @@ maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://lttng.org" homepage="http://lttng.org"
distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=20bc4b7ad297c0181f20f8cf3ba2967ded76d5628a05b8c7817d39a928edaa00 checksum=b3038ff9ba46c3e4d3d228def733c15952d15d23fcb1151a580f31c4276c9a9f
lttng-tools-devel_package() { lttng-tools-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"