summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2013-10-04 17:18:31 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-10-05 12:36:23 +0200
commit915810274467cef4f97fd2dff3fc85f9565abea2 (patch)
tree1526097b4d6f05b75137cf34381e75a166095a78 /meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
parent73a68490efe05cdbec540ec6f17782816632a24d (diff)
downloadmeta-openembedded-915810274467cef4f97fd2dff3fc85f9565abea2.tar.gz
wvstreams: add recipe for version 4.6.1
Recipe based on OE classic's recipe for version 4.4.1, as of 0585ccfa49f71a81652c7f63885202e952ebd0e9. Summary of changes against OE classic's recipe: * Apply some Debian patches from http://patch-tracker.debian.org/package/wvstreams/4.6.1-6 * Minor adjustments for the current build system (add LIC_FILES_CHKSUM, md5 and sha256 sums for SRC_URI, fix LICENSE, remove PR) * Add --without-valgrind to EXTRA_OECONF * Disable parallel make, since it was causing errors like Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 8 | ./CXX -c utils/wvbuffer | ./CXX -c utils/wvbufferstore | ./CXX -c utils/wvcont | /bin/bash: ./CXX: No such file or directory | /bin/bash: ./CXX: No such file or directory | /bin/bash: ./CXX: No such file or directory | * Generating CC using c | make: * Generating CXX using cc | *** [utils/wvbuffer.o] Error 127 | make: *** Waiting for unfinished jobs.... | make: *** [utils/wvbufferstore.o] Error 127 | make: *** [utils/wvcont.o] Error 127 | ERROR: oe_runmake failed | WARNING: .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/run.do_compile.19302:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at .../tmp/work/armv7a-vfp-neon-oel-linux-gnueabi/wvstreams/4.6.1-r0/temp/log.do_compile.19302) Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff')
-rw-r--r--meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff41
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 0000000000..8e4fd03298
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff
@@ -0,0 +1,41 @@
1Index: 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;
14Index: 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)
27Index: 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)