diff --git a/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch b/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch new file mode 100644 index 0000000..fd6f951 --- /dev/null +++ b/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch @@ -0,0 +1,23 @@ +diff -urN wvstreams-4.4.1-orig/include/uniconfkey.h wvstreams-4.4.1/include/uniconfkey.h +--- wvstreams-4.4.1-orig/include/uniconfkey.h 2009-05-17 15:52:15.761594425 +0800 ++++ wvstreams-4.4.1/include/uniconfkey.h 2009-05-17 15:51:49.290819209 +0800 +@@ -9,6 +9,7 @@ + + #include "wvstring.h" + #include "wvlinklist.h" ++#include + + + // The Python headers try to #define ANY as void. If we're building Python +diff -urN wvstreams-4.4.1-orig/include/wvserialize.h wvstreams-4.4.1/include/wvserialize.h +--- wvstreams-4.4.1-orig/include/wvserialize.h 2009-05-17 15:52:21.970914867 +0800 ++++ wvstreams-4.4.1/include/wvserialize.h 2009-05-17 15:51:49.300819143 +0800 +@@ -349,7 +349,7 @@ + * except as the last character. + */ + template <> +-extern WvString _wv_deserialize(WvBuf &buf); ++WvString _wv_deserialize(WvBuf &buf); + + + /** Deserialize a WvBuf. */ diff --git a/recipes/wvstreams/wvstreams_4.4.1.bb b/recipes/wvstreams/wvstreams_4.4.1.bb index 8cf1d1b..7dcc126 100644 --- a/recipes/wvstreams/wvstreams_4.4.1.bb +++ b/recipes/wvstreams/wvstreams_4.4.1.bb @@ -3,10 +3,11 @@ LICENSE = "LGPL" DESCRIPTION = "WvStreams is a network programming library in C++" DEPENDS = "zlib openssl (>= 0.9.8)" -PR = "r2" +PR = "r3" SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \ - file://build-fixes-and-sanity.patch;patch=1 " + file://build-fixes-and-sanity.patch;patch=1 \ + file://wvstreams-4.4.1-gcc-4.3-compile.patch;patch=1 " inherit autotools pkgconfig