diff options
| author | Gianfranco Costamagna <costamagna.gianfranco@gmail.com> | 2018-07-23 18:47:54 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-07-26 20:10:07 -0700 |
| commit | cff57daf6507f4b449e62678606d4988555dc6aa (patch) | |
| tree | c30229a6ed037a1e7a166a846e6408d806e9f08a /meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch | |
| parent | 4ad49edc90f4ff73a19accda4f12ef33b46effd1 (diff) | |
| download | meta-openembedded-cff57daf6507f4b449e62678606d4988555dc6aa.tar.gz | |
meta-oe: update cpprest with patches uploaded in Debian, add upstream proposed gcc-8 patch, add boost 1.63 build fix patch
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch')
| -rw-r--r-- | meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch new file mode 100644 index 0000000000..9fcffbfed2 --- /dev/null +++ b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/732.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 3d8caad3f459d8b2136c5bc9be7fdec53e5d777d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wu Yongwei <wuyongwei@gmail.com> | ||
| 3 | Date: Tue, 10 Apr 2018 11:29:12 +0800 | ||
| 4 | Subject: [PATCH] Fix a build problem on Clang. | ||
| 5 | |||
| 6 | AND_CAPTURE_MEMBER_FUNCTION_POINTERS workaround had a check for GCC, | ||
| 7 | but did not exclude Clang. Clang has a fake GCC version of 4.2, thus | ||
| 8 | caused problems. | ||
| 9 | --- | ||
| 10 | Release/src/http/client/http_client_asio.cpp | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/Release/src/http/client/http_client_asio.cpp b/Release/src/http/client/http_client_asio.cpp | ||
| 14 | index 4ba3e085..fca4bb5b 100644 | ||
| 15 | --- a/Release/src/http/client/http_client_asio.cpp | ||
| 16 | +++ b/Release/src/http/client/http_client_asio.cpp | ||
| 17 | @@ -47,7 +47,7 @@ | ||
| 18 | #include <unordered_set> | ||
| 19 | #include <memory> | ||
| 20 | |||
| 21 | -#if defined(__GNUC__) | ||
| 22 | +#if defined(__GNUC__) && !defined(__clang__) | ||
| 23 | |||
| 24 | #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) | ||
| 25 | #define AND_CAPTURE_MEMBER_FUNCTION_POINTERS | ||
