]> git.pld-linux.org Git - packages/gtksourceview.git/commitdiff
- fix format string errors auto/th/gtksourceview-1.8.5-8
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Apr 2015 11:13:10 +0000 (11:13 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Apr 2015 11:13:10 +0000 (11:13 +0000)
- rel 8

format-security.patch [new file with mode: 0644]
gtksourceview.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..c73912f
--- /dev/null
@@ -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));
index 7eabe5ccab9549d6e8fb799695552320706d9cef..124f7426ca02db9d934c2728f3043912378e99f5 100644 (file)
@@ -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}
This page took 0.36939 seconds and 4 git commands to generate.