[packages/lttng-tools] - updated to 2.10.9 - added swig-crash patch (empty docstring apparently triggers swig 4.0.x crash)

qboosh qboosh at pld-linux.org
Sun Oct 27 20:25:34 CET 2019


commit 8d5a47de53b62ec359583d9051577d7903920943
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 27 20:25:26 2019 +0100

    - updated to 2.10.9
    - added swig-crash patch (empty docstring apparently triggers swig 4.0.x crash)

 lttng-tools-swig-crash.patch | 20 ++++++++++++++++++++
 lttng-tools.spec             |  6 ++++--
 2 files changed, 24 insertions(+), 2 deletions(-)
---
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}
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 %{
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lttng-tools.git/commitdiff/8d5a47de53b62ec359583d9051577d7903920943



More information about the pld-cvs-commit mailing list