diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-12 15:59:15 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-13 23:28:06 +0200 |
commit | 8afe9200c45110eb2166e09bdce739fa170c08cb (patch) | |
tree | abf4a363504f9c5fbee8f2af9ad9cd70333f7f6e /meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | |
parent | 4d7e174324d61c8da79152b67c4e8a434bd2d078 (diff) | |
download | meta-openembedded-8afe9200c45110eb2166e09bdce739fa170c08cb.tar.gz |
curlpp: fix do_compile failed since gcc upgrade to 4.9
The deprecated test code was no longer used, so remove it
to avoid compiling failure with -Werror=unused-function
...
| example21.cpp:51:8: error: 'size_t {anonymous}::readData(char*,
size_t, size_t)' defined but not used [-Werror=unused-function]
| size_t readData(char *buffer, size_t size, size_t nitems)
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb')
-rw-r--r-- | meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb index d24c95873..48f5178b5 100644 --- a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +++ b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | |||
@@ -4,12 +4,11 @@ SECTION = "console/network" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
6 | 6 | ||
7 | PNBLACKLIST[curlpp] = "BROKEN: since gcc upgrade to 4.9, error: 'size_t {anonymous}::readData(char*, size_t, size_t)' defined but not used [-Werror=unused-function]" | ||
8 | |||
9 | DEPENDS = "curl boost" | 7 | DEPENDS = "curl boost" |
10 | DEPENDS_class-native = "curl-native" | 8 | DEPENDS_class-native = "curl-native" |
11 | 9 | ||
12 | SRC_URI = "http://curlpp.googlecode.com/files/curlpp-${PV}.tar.gz \ | 10 | SRC_URI = "http://curlpp.googlecode.com/files/curlpp-${PV}.tar.gz \ |
11 | file://example21.cpp-remove-deprecated-code.patch \ | ||
13 | " | 12 | " |
14 | 13 | ||
15 | SRC_URI[md5sum] = "ccc3d30d4b3b5d2cdbed635898c29485" | 14 | SRC_URI[md5sum] = "ccc3d30d4b3b5d2cdbed635898c29485" |