]> git.pld-linux.org Git - packages/satyr.git/commitdiff
- added format patch (fixes build with -Werror=format-security) auto/th/satyr-0.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Jul 2013 14:51:14 +0000 (16:51 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Jul 2013 14:51:14 +0000 (16:51 +0200)
satyr-format.patch [new file with mode: 0644]
satyr.spec

diff --git a/satyr-format.patch b/satyr-format.patch
new file mode 100644 (file)
index 0000000..2161694
--- /dev/null
@@ -0,0 +1,11 @@
+--- satyr-0.5/lib/report.c.orig        2013-06-17 11:10:07.000000000 +0200
++++ satyr-0.5/lib/report.c     2013-07-25 16:49:04.553138969 +0200
+@@ -149,7 +149,7 @@
+     {
+         char *stacktrace = sr_java_stacktrace_to_json(report->java_stacktrace);
+         dismantle_object(stacktrace);
+-        sr_strbuf_append_strf(strbuf, stacktrace);
++        sr_strbuf_append_strf(strbuf, "%s", stacktrace);
+         free(stacktrace);
+     }
index 32e759e5890cde2a7ff455c2e13a57fdf0870843..0e93668eda3db34516df1b7a78197e58b278a624 100644 (file)
@@ -10,6 +10,7 @@ Source0:      https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.xz
 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
@@ -92,6 +93,7 @@ Wiązania Pythona do biblioteki Satyr.
 %else
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -99,7 +101,8 @@ Wiązania Pythona do biblioteki Satyr.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-silent-rules
 
 %{__make}
 
This page took 0.095811 seconds and 4 git commands to generate.