Summary(pl.UTF-8): Sterowanie śledzeniem LTTng
Name: lttng-tools
Version: 2.6.0
-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
# Source0-md5: 0478f60395f9564b4a19f45ce7b7f3df
Patch0: %{name}-python.patch
+Patch1: x32.patch
URL: http://lttng.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.10
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
--disable-silent-rules \
--enable-python-bindings \
--with-babeltrace-bin=/usr/bin/babeltrace \
-%ifnarch alpha ia64
+%ifnarch x32
+ --with-consumerd32-bin=/usr/libx32/lttng/libexec/lttng-consumerd \
+ --with-consumerd32-libdir=/usr/libx32 \
+%endif
+%ifnarch alpha ia64 x32
--with-consumerd32-bin=/usr/lib/lttng/libexec/lttng-consumerd \
--with-consumerd32-libdir=/usr/lib \
%endif
--- /dev/null
+--- 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
+
+-#if defined(__x86_64)
++#if defined(__x86_64) && !defined(__ILP32__)
+ static inline
+ unsigned int fls_u64(uint64_t x)
+ {