Name: mingw32-poco
Version: 1.3.3p1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: MinGW Windows C++ libraries for network-centric applications
License: Boost
Patch1001: poco-01-buildsystem.patch
Patch1002: poco-02-makefiles.patch
Patch1003: poco-03-memcpy.patch
+Patch1004: poco-sprintf.patch
BuildArch: noarch
%patch1001 -p0
%patch1002 -p0
%patch1003 -p0
+%patch1004 -p1
%build
%changelog
-* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.3.3p1-3
+* Sat Feb 21 2009 Richard W.M. Jones <rjones@redhat.com> - 1.3.3p1-4
- Rebuild for mingw32-gcc 4.4
* Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.3.3p1-2
--- /dev/null
+--- poco-1.3.3p1/Foundation/src/Environment.cpp 2008-10-09 17:11:22.000000000 +0100
++++ poco-1.3.3p1.mingw/Foundation/src/Environment.cpp 2009-02-21 10:28:33.000000000 +0000
+@@ -35,6 +35,7 @@
+
+
+ #include "Poco/Environment.h"
++#include <cstdio>
+ #include <cstdlib>
+
+
+@@ -108,7 +109,7 @@
+ NodeId id;
+ nodeId(id);
+ char result[18];
+- std::sprintf(result, "%02x:%02x:%02x:%02x:%02x:%02x",
++ sprintf(result, "%02x:%02x:%02x:%02x:%02x:%02x",
+ id[0],
+ id[1],
+ id[2],