From edf9505ccc3f9cad77a5660ed60eb35b20bb9a2f Mon Sep 17 00:00:00 2001 From: Kirtika Ruchandani Date: Fri, 7 Aug 2009 20:32:18 -0700 Subject: wvstreams_4.4.1.bb: Make it compilable with gcc 4.3 Signed-off-by: Khem Raj --- recipes/wvstreams/files/gcc4.3.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/wvstreams/files/gcc4.3.patch (limited to 'recipes/wvstreams/files/gcc4.3.patch') diff --git a/recipes/wvstreams/files/gcc4.3.patch b/recipes/wvstreams/files/gcc4.3.patch new file mode 100644 index 0000000000..f7315eeefb --- /dev/null +++ b/recipes/wvstreams/files/gcc4.3.patch @@ -0,0 +1,15 @@ +Index: wvstreams-4.4.1/include/wvserialize.h +=================================================================== +--- wvstreams-4.4.1.orig/include/wvserialize.h 2009-07-28 17:46:50.000000000 +0530 ++++ wvstreams-4.4.1/include/wvserialize.h 2009-07-28 17:48:30.000000000 +0530 +@@ -348,8 +348,9 @@ + * (zero) character. Serialized WvStrings are guaranteed not to contain nul + * except as the last character. + */ ++/*No storage class allowed here as per gcc 4.3 specs*/ + template <> +-extern WvString _wv_deserialize(WvBuf &buf); ++WvString _wv_deserialize(WvBuf &buf); + + + /** Deserialize a WvBuf. */ -- cgit v1.2.3