[packages/satyr] - updated to 0.14 - added format patch (fixes build with -Werror=format-security when using recent e

qboosh qboosh at pld-linux.org
Sat Jun 14 16:46:15 CEST 2014


commit f4a4bfe93ff385e912c36c32002afcb076905119
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 14 16:50:05 2014 +0200

    - updated to 0.14
    - added format patch (fixes build with -Werror=format-security when using recent elfutils)

 satyr-format.patch | 11 +++++++++++
 satyr.spec         |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/satyr.spec b/satyr.spec
index c65ddbf..8bc1cb8 100644
--- a/satyr.spec
+++ b/satyr.spec
@@ -1,15 +1,16 @@
 Summary:	Tools to create anonymous, machine-friendly problem reports
 Summary(pl.UTF-8):	Analizator śladów wywołań tworzonych przez GDB
 Name:		satyr
-Version:	0.13
+Version:	0.14
 Release:	1
 License:	GPL v2+
 Group:		Development/Tools
 Source0:	https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.xz
-# Source0-md5:	2921d7a6db43df61f0af241187b91cb9
+# Source0-md5:	8f87674f1cee840d35063887b1898dbe
 Patch0:		%{name}-libopcodes.patch
 Patch1:		%{name}-rpm5.patch
 Patch2:		%{name}-rpm45.patch
+Patch3:		%{name}-format.patch
 URL:		http://fedorahosted.org/abrt/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -93,6 +94,7 @@ Wiązania Pythona do biblioteki Satyr.
 %else
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 %{__libtoolize}
diff --git a/satyr-format.patch b/satyr-format.patch
new file mode 100644
index 0000000..58d0929
--- /dev/null
+++ b/satyr-format.patch
@@ -0,0 +1,11 @@
+--- satyr-0.14/lib/core_unwind_elfutils.c.orig	2014-03-26 16:23:25.000000000 +0100
++++ satyr-0.14/lib/core_unwind_elfutils.c	2014-06-14 16:40:38.064971360 +0200
+@@ -166,7 +166,7 @@
+             set_error_dwfl("dwfl_getthreads");
+         else if (ret == DWARF_CB_ABORT)
+         {
+-            set_error(thread_arg.error_msg);
++            set_error("%s", thread_arg.error_msg);
+             free(thread_arg.error_msg);
+         }
+         else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/satyr.git/commitdiff/f4a4bfe93ff385e912c36c32002afcb076905119



More information about the pld-cvs-commit mailing list