diff options
author | Kirtika Ruchandani <kirtibr@gmail.com> | 2009-08-07 20:32:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-08-07 20:32:18 -0700 |
commit | edf9505ccc3f9cad77a5660ed60eb35b20bb9a2f (patch) | |
tree | 8662db77314f8a838897e6ccd140bee5d5aacbd9 /recipes/wvstreams/files | |
parent | 02772d7a0d41f1c7c0574692ac8cec8129ac0c99 (diff) |
wvstreams_4.4.1.bb: Make it compilable with gcc 4.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/wvstreams/files')
-rw-r--r-- | recipes/wvstreams/files/dont-forget-header.patch | 13 | ||||
-rw-r--r-- | recipes/wvstreams/files/gcc4.3.patch | 15 |
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes/wvstreams/files/dont-forget-header.patch b/recipes/wvstreams/files/dont-forget-header.patch new file mode 100644 index 0000000000..9befe49963 --- /dev/null +++ b/recipes/wvstreams/files/dont-forget-header.patch @@ -0,0 +1,13 @@ +Index: wvstreams-4.4.1/include/uniconfkey.h +=================================================================== +--- wvstreams-4.4.1.orig/include/uniconfkey.h 2009-07-28 17:42:39.000000000 +0530 ++++ wvstreams-4.4.1/include/uniconfkey.h 2009-07-28 17:42:55.000000000 +0530 +@@ -9,7 +9,7 @@ + + #include "wvstring.h" + #include "wvlinklist.h" +- ++#include <limits.h> + + // The Python headers try to #define ANY as void. If we're building Python + // wrappers, get rid of that. 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<WvString>(WvBuf &buf); ++WvString _wv_deserialize<WvString>(WvBuf &buf); + + + /** Deserialize a WvBuf. */ |