From: Jakub Bogusz Date: Sun, 27 Oct 2019 19:25:26 +0000 (+0100) Subject: - updated to 2.10.9 X-Git-Tag: auto/th/lttng-tools-2.10.9-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=8d5a47de53b62ec359583d9051577d7903920943;p=packages%2Flttng-tools.git - updated to 2.10.9 - added swig-crash patch (empty docstring apparently triggers swig 4.0.x crash) --- diff --git a/lttng-tools-swig-crash.patch b/lttng-tools-swig-crash.patch new file mode 100644 index 0000000..b7ad740 --- /dev/null +++ b/lttng-tools-swig-crash.patch @@ -0,0 +1,20 @@ +--- lttng-tools-2.10.9/extras/bindings/swig/python/lttng.i.in.orig 2019-10-17 22:22:41.887718617 +0200 ++++ lttng-tools-2.10.9/extras/bindings/swig/python/lttng.i.in 2019-10-27 20:19:50.793948143 +0100 +@@ -434,7 +434,7 @@ + // (List and Handle-related) + // ============================================= + +-%feature("docstring")"" ++//%feature("docstring")"" + %pythoncode %{ + + def list_sessions(): +@@ -710,7 +710,7 @@ + // Used to prevent freeing unallocated memory + // ============================================= + +-%feature("docstring")"" ++//%feature("docstring")"" + %feature("autodoc", "1"); + + %pythoncode %{ diff --git a/lttng-tools.spec b/lttng-tools.spec index e5c722c..021f1cc 100644 --- a/lttng-tools.spec +++ b/lttng-tools.spec @@ -1,14 +1,15 @@ Summary: LTTng Trace Control Summary(pl.UTF-8): Sterowanie śledzeniem LTTng Name: lttng-tools -Version: 2.10.7 +Version: 2.10.9 Release: 1 License: LGPL v2.1+ (library), GPL v2 (tools) Group: Libraries Source0: https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2 -# Source0-md5: e7804d10e4cade381e241601f6047373 +# Source0-md5: 5957c786fba44168de876830de5b1d5f Patch0: %{name}-python.patch Patch1: x32.patch +Patch2: %{name}-swig-crash.patch URL: https://lttng.org/ BuildRequires: asciidoc BuildRequires: autoconf >= 2.64 @@ -92,6 +93,7 @@ Wiązanie Pythona 3 do LTTng. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize}