--- /dev/null
+--- 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 );
+ }
+ }
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
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}