]> git.pld-linux.org Git - packages/pfstools.git/commitdiff
- fix printf format error auto/th/pfstools-1.8.5-3
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Apr 2013 19:54:42 +0000 (21:54 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Apr 2013 19:54:42 +0000 (21:54 +0200)
- rel 3

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

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..c407b82
--- /dev/null
@@ -0,0 +1,11 @@
+--- pfstools-1.8.5/src/pfs/pfs.cpp~    2010-07-14 11:44:27.000000000 +0200
++++ pfstools-1.8.5/src/pfs/pfs.cpp     2013-04-04 21:50:17.637534986 +0200
+@@ -525,7 +525,7 @@
+   TagList::const_iterator it;
+   fprintf( out, "%d" PFSEOL, tags->getSize() );
+   for( it = tags->tagsBegin(); it != tags->tagsEnd(); it++ ) {
+-    fprintf( out, (const char*)(it->c_str()) );
++    fprintf( out, "%s", (const char*)(it->c_str()) );
+     fprintf( out, PFSEOL );
+   }
+ }
index 7abef9d36fec8d6917e57b0c3a4e323cc9bceed5..96c7c45e280a8ec3f826f1320809bab1963ce677 100644 (file)
@@ -7,12 +7,13 @@ Summary:      pfstools for High Dynamic Range Images and Video
 Summary(pl.UTF-8):     Narzędzia do obrazów i wideo o dużym zakresie luminancji
 Name:          pfstools
 Version:       1.8.5
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/pfstools/%{name}-%{version}.tar.gz
 # Source0-md5: 80dac70bfb6359a6749453477e74b112
 Patch0:                %{name}-opt.patch
+Patch1:                format-security.patch
 URL:           http://pfstools.sourceforge.net/
 BuildRequires: ImageMagick-c++-devel >= 6.0
 BuildRequires: OpenEXR-devel >= 1.0
@@ -101,6 +102,7 @@ Wiązania języka Octave do pfstools.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
This page took 0.120189 seconds and 4 git commands to generate.