]> git.pld-linux.org Git - packages/seed.git/commitdiff
- fix format string error auto/th/seed-3.8.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 5 Dec 2013 21:20:05 +0000 (22:20 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 5 Dec 2013 21:20:05 +0000 (22:20 +0100)
- rel 2

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

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..fec5fa7
--- /dev/null
@@ -0,0 +1,11 @@
+--- seed-3.8.1/libseed/seed-types.c~   2013-04-16 09:58:20.000000000 +0200
++++ seed-3.8.1/libseed/seed-types.c    2013-12-05 22:18:46.317881733 +0100
+@@ -1213,7 +1213,7 @@
+           {
+             char *error_message = g_strdup_printf ("Unable to make object from hash table indexed with values of type %s", g_type_tag_to_string (key_type_tag));
+             seed_make_exception (ctx, exception, "ArgumentError",
+-                                 error_message);
++                                 "%s", error_message);
+             g_free (error_message);
+             return JSValueMakeNull (ctx);
+           }
index b461aac4b758280a80b2b3c4e34106369522f9ef..225021f306cd5d793882a82d27be1708b121b856 100644 (file)
--- a/seed.spec
+++ b/seed.spec
@@ -6,11 +6,12 @@ Summary:      JavaScript interpreter
 Summary(pl.UTF-8):     Interpreter JavaScriptu
 Name:          seed
 Version:       3.8.1
-Release:       1
+Release:       2
 License:       LGPL v2+
 Group:         Development/Languages
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/seed/3.8/%{name}-%{version}.tar.xz
 # Source0-md5: f5afeb04343e0cb56d2396f0d0458988
+Patch0:                format-security.patch
 URL:           http://live.gnome.org/Seed
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.7
@@ -90,6 +91,7 @@ Dokumentacja API biblioteki seed.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__intltoolize}
This page took 0.086569 seconds and 4 git commands to generate.