[packages/gtksourceview] - fix format string errors - rel 8
baggins
baggins at pld-linux.org
Mon Apr 6 13:13:26 CEST 2015
commit 08be674bc1544f8e1810e7ce16e7084e410e1413
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 6 11:13:10 2015 +0000
- fix format string errors
- rel 8
format-security.patch | 11 +++++++++++
gtksourceview.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview.spec b/gtksourceview.spec
index 7eabe5c..124f742 100644
--- a/gtksourceview.spec
+++ b/gtksourceview.spec
@@ -6,13 +6,14 @@ Summary: Text widget that extends the standard GTK+ 2.x
Summary(pl.UTF-8): Widget tekstowy rozszerzający standardowy z GTK+ 2.x
Name: gtksourceview
Version: 1.8.5
-Release: 7
+Release: 8
License: GPL v2+
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/1.8/%{name}-%{version}.tar.bz2
# Source0-md5: de67df2944c1cccbc2d0b4a738e11050
Patch0: %{name}-nognome.patch
Patch1: %{name}-build-fix.patch
+Patch2: format-security.patch
URL: http://www.gnome.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -85,6 +86,7 @@ Statyczna biblioteka gtksourceview.
%setup -q
%{!?with_gnome:%patch0 -p1}
%patch1 -p1
+%patch2 -p1
%build
%{__gtkdocize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..c73912f
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- gtksourceview-1.8.5/tests/test-widget.c~ 2007-01-03 15:40:28.000000000 +0000
++++ gtksourceview-1.8.5/tests/test-widget.c 2015-04-06 11:11:42.287502297 +0000
+@@ -190,7 +190,7 @@
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK,
+- tmp);
++ "%s", tmp);
+ g_free (tmp);
+
+ gtk_dialog_run (GTK_DIALOG (dialog));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtksourceview.git/commitdiff/08be674bc1544f8e1810e7ce16e7084e410e1413
More information about the pld-cvs-commit
mailing list