diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff')
-rw-r--r-- | meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff b/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff new file mode 100644 index 000000000..8e4fd0329 --- /dev/null +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff | |||
@@ -0,0 +1,41 @@ | |||
1 | Index: wvstreams-4.6.1/crypto/wvx509.cc | ||
2 | =================================================================== | ||
3 | --- wvstreams-4.6.1.orig/crypto/wvx509.cc 2011-05-20 00:02:38.119136584 +0200 | ||
4 | +++ wvstreams-4.6.1/crypto/wvx509.cc 2011-05-20 00:02:26.035136589 +0200 | ||
5 | @@ -1157,7 +1157,7 @@ | ||
6 | |||
7 | if (ext) | ||
8 | { | ||
9 | - X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); | ||
10 | + X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext); | ||
11 | if (!method) | ||
12 | { | ||
13 | WvDynBuf buf; | ||
14 | Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc | ||
15 | =================================================================== | ||
16 | --- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:38.391136584 +0200 | ||
17 | +++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:35.283136585 +0200 | ||
18 | @@ -1,8 +1,6 @@ | ||
19 | #include "wvunixdgsocket.h" | ||
20 | -#ifdef MACOS | ||
21 | #include <sys/types.h> | ||
22 | #include <sys/stat.h> | ||
23 | -#endif | ||
24 | |||
25 | WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms) | ||
26 | : socketfile(filename) | ||
27 | Index: wvstreams-4.6.1/streams/wvatomicfile.cc | ||
28 | =================================================================== | ||
29 | --- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200 | ||
30 | +++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200 | ||
31 | @@ -10,10 +10,7 @@ | ||
32 | #include "wvatomicfile.h" | ||
33 | #include "wvfileutils.h" | ||
34 | #include "wvstrutils.h" | ||
35 | - | ||
36 | -#ifdef MACOS | ||
37 | #include <sys/stat.h> | ||
38 | -#endif | ||
39 | |||
40 | WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode) | ||
41 | : tmp_file(WvString::null) | ||