]> git.pld-linux.org Git - packages/lttng-tools.git/commitdiff
- updated x32 patch auto/th/lttng-tools-2.10.1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 25 Dec 2017 09:05:26 +0000 (10:05 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 25 Dec 2017 09:05:26 +0000 (10:05 +0100)
- requires lttng-ust 2.10 to build
- release 2

lttng-tools.spec
x32.patch

index c633b15d8a25a9ba41637dbe479ee74a65b09e79..820e275c132522536bdf0ec78df8e532faa3e5f9 100644 (file)
@@ -2,7 +2,7 @@ Summary:        LTTng Trace Control
 Summary(pl.UTF-8):     Sterowanie Ĺ›ledzeniem LTTng
 Name:          lttng-tools
 Version:       2.10.1
-Release:       1
+Release:       2
 License:       LGPL v2.1+ (library), GPL v2 (tools)
 Group:         Libraries
 Source0:       http://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2
@@ -20,7 +20,7 @@ BuildRequires:        kmod-devel
 BuildRequires: libtool >= 2:2.2
 BuildRequires: libuuid-devel
 BuildRequires: libxml2-devel >= 1:2.7.6
-BuildRequires: lttng-ust-devel >= 2.7.0
+BuildRequires: lttng-ust-devel >= 2.10.0
 BuildRequires: popt-devel >= 1.13
 BuildRequires: python3-devel >= 1:3.2
 BuildRequires: rpmbuild(macros) >= 1.219
@@ -29,7 +29,7 @@ BuildRequires:        userspace-rcu-devel >= 0.8.0
 BuildRequires: xmlto
 #BuildRequires:        jdk java-lttng-ust # used for tests only
 Requires:      libxml2 >= 1:2.7.6
-Requires:      lttng-ust >= 2.7.0
+Requires:      lttng-ust >= 2.10.0
 Requires:      popt >= 1.13
 Requires:      userspace-rcu >= 0.8.0
 Requires:      uname(release) >= 2.6.27
index 064a23302c3640ae2e15fe6efa1f9fdf20c2aaac..910ffa5071fe2d6547c1eb3443665fb9eecf3dc4 100644 (file)
--- a/x32.patch
+++ b/x32.patch
@@ -1,11 +1,22 @@
---- lttng-tools-2.6.0/src/bin/lttng/utils.c~   2015-01-26 18:17:15.000000000 +0100
-+++ lttng-tools-2.6.0/src/bin/lttng/utils.c    2015-07-30 19:45:25.632045712 +0200
-@@ -130,7 +130,7 @@
- #define HAS_FLS_U32
- #endif
+--- lttng-tools-2.10.1/src/bin/lttng/utils.c.orig      2017-08-03 21:42:22.082587260 +0200
++++ lttng-tools-2.10.1/src/bin/lttng/utils.c   2017-12-25 09:44:22.494015902 +0100
+@@ -156,7 +156,7 @@
+ static inline
+ unsigned int fls_u64(uint64_t x)
+ {
+-      long r;
++      int64_t r;
  
--#if defined(__x86_64)
-+#if defined(__x86_64) && !defined(__ILP32__)
+       asm("bsrq %1,%0\n\t"
+           "jnz 1f\n\t"
+--- lttng-tools-2.10.1/src/common/utils.c.orig 2017-08-03 21:42:22.102586698 +0200
++++ lttng-tools-2.10.1/src/common/utils.c      2017-12-25 09:37:09.418605350 +0100
+@@ -1021,7 +1021,7 @@
  static inline
  unsigned int fls_u64(uint64_t x)
  {
+-      long r;
++      int64_t r;
+       asm("bsrq %1,%0\n\t"
+           "jnz 1f\n\t"
This page took 0.029918 seconds and 4 git commands to generate.