]> git.pld-linux.org Git - packages/clearsilver.git/commitdiff
- fix format string error auto/th/clearsilver-0.10.5-8
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 11 Jun 2013 12:55:54 +0000 (14:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 11 Jun 2013 12:55:54 +0000 (14:55 +0200)
- rel 8

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

index 7cea506738712a62317c0a48c014e8f04ad0fd8b..31b04b0571898f04ba844306b1faaaadc80895ec 100644 (file)
@@ -2,12 +2,13 @@ Summary:      ClearSilver HTML template system
 Summary(pl.UTF-8):     ClearSilver - system szablonów HTML
 Name:          clearsilver
 Version:       0.10.5
-Release:       7
+Release:       8
 License:       Apache License style
 Group:         Development/Libraries
 Source0:       http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: b8c0c7fbe0ef5e06e0c935f134304d44
 Patch0:                %{name}-pic.patch
+Patch1:                format-security.patch
 URL:           http://www.clearsilver.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -88,6 +89,7 @@ ClearSilver.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g" 
 
diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..69d81d6
--- /dev/null
@@ -0,0 +1,11 @@
+--- clearsilver-0.10.5/python/neo_cgi.c~       2013-06-11 14:54:21.825300922 +0200
++++ clearsilver-0.10.5/python/neo_cgi.c        2013-06-11 14:54:56.992346488 +0200
+@@ -178,7 +178,7 @@
+   if (!PyArg_ParseTuple(args, "s:error(str)", &s))
+     return NULL;
+-  cgi_error (cgi, s);
++  cgi_error (cgi, "%s", s);
+   rv = Py_None;
+   Py_INCREF(rv);
+   return rv;
This page took 0.10687 seconds and 4 git commands to generate.