File project.diff of Package asio
--- asio-gcc44-fixes.patch.orig +++ asio-gcc44-fixes.patch @@ -0,0 +1,12 @@ +Index: asio-1.2.0/src/examples/buffers/reference_counted.cpp +=================================================================== +--- asio-1.2.0.orig/src/examples/buffers/reference_counted.cpp ++++ asio-1.2.0/src/examples/buffers/reference_counted.cpp +@@ -13,6 +13,7 @@ + #include <boost/enable_shared_from_this.hpp> + #include <boost/shared_ptr.hpp> + #include <vector> ++#include <iostream> + + using asio::ip::tcp; + --- asio.changes.orig +++ asio.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sat Feb 21 18:06:05 EST 2009 - hub@figuiere.net + +- Added asio-gcc44-fixes.patch to build with latest gcc. + +------------------------------------------------------------------- Wed Jan 14 11:49:51 EST 2009 - hfiguiere@suse.de - Update to 1.2.0 --- asio.spec.orig +++ asio.spec @@ -31,6 +31,7 @@ BuildRequires: gcc-c++ # disable openssl support #BuildRequires: libopenssl-devel BuildRequires: boost-devel +Patch0: asio-gcc44-fixes.patch %description Asio is a cross-platform C++ library for network and low-level I/O @@ -63,6 +64,7 @@ Authors: %prep %setup -q +%patch0 -p1 %build %configure