diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-01-25 15:46:47 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-01-26 11:00:07 -0800 |
| commit | f394ef48f7b1ccf37119c90efc9ea21a6f1d14c8 (patch) | |
| tree | dc64357e4de9e9ca67d2890e2654a4fdd34b1a61 | |
| parent | 3893910f9a64c38975cf6be3c49b62af0ae3177e (diff) | |
| download | meta-openembedded-f394ef48f7b1ccf37119c90efc9ea21a6f1d14c8.tar.gz | |
civetweb: Bump to v1.11
Drop upstream accepted patch.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-connectivity/civetweb/civetweb/0001-undefine-macro-before-redefining.patch | 26 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 7 |
2 files changed, 3 insertions, 30 deletions
diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb/0001-undefine-macro-before-redefining.patch b/meta-networking/recipes-connectivity/civetweb/civetweb/0001-undefine-macro-before-redefining.patch deleted file mode 100644 index 8653302130..0000000000 --- a/meta-networking/recipes-connectivity/civetweb/civetweb/0001-undefine-macro-before-redefining.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 59f65235a7a690f50d1686e9977908c053697d8c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 28 Aug 2018 22:59:13 -0700 | ||
| 4 | Subject: [PATCH] undefine macro before redefining | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | src/main.c:89:9: error: 'printf' macro redefined [-Werror,-Wmacro-redefined] | ||
| 8 | |||
| 9 | Upstream-Stats: Submitted [https://github.com/civetweb/civetweb/pull/649] | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | src/main.c | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/main.c b/src/main.c | ||
| 16 | index bbcb0aec..01191a3c 100644 | ||
| 17 | --- a/src/main.c | ||
| 18 | +++ b/src/main.c | ||
| 19 | @@ -86,6 +86,7 @@ | ||
| 20 | |||
| 21 | #include "civetweb.h" | ||
| 22 | |||
| 23 | +#undef printf | ||
| 24 | #define printf \ | ||
| 25 | DO_NOT_USE_THIS_FUNCTION__USE_fprintf /* Required for unit testing */ | ||
| 26 | |||
diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb index d681f7f30c..c8fe24c637 100644 --- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | |||
| @@ -4,11 +4,10 @@ HOMEPAGE = "https://github.com/civetweb/civetweb" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562" |
| 6 | 6 | ||
| 7 | SRCREV = "19f31ba8dd8443e86c7028a4b4c37f4b299aa68c" | 7 | SRCREV = "ce8f6d38a60eb16c996afee1e5340f76ef4d0923" |
| 8 | PV = "1.10+git${SRCPV}" | 8 | PV = "1.11+git${SRCPV}" |
| 9 | SRC_URI = "git://github.com/civetweb/civetweb.git \ | 9 | SRC_URI = "git://github.com/civetweb/civetweb.git \ |
| 10 | file://0001-Unittest-Link-librt-and-libm-using-l-option.patch \ | 10 | file://0001-Unittest-Link-librt-and-libm-using-l-option.patch \ |
| 11 | file://0001-undefine-macro-before-redefining.patch \ | ||
| 12 | " | 11 | " |
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| @@ -36,7 +35,7 @@ PACKAGECONFIG[cgi] = "-DCIVETWEB_DISABLE_CGI=OFF,-DCIVETWEB_DISABLE_CGI=ON," | |||
| 36 | PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF," | 35 | PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF," |
| 37 | PACKAGECONFIG[debug] = "-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF," | 36 | PACKAGECONFIG[debug] = "-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF," |
| 38 | PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF," | 37 | PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF," |
| 39 | PACKAGECONFIG[server] = "-DCIVETWEB_INSTALL_EXECUTABLE=ON,-DCIVETWEB_INSTALL_EXECUTABLE=OFF," | 38 | PACKAGECONFIG[server] = "-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=ON -DCIVETWEB_INSTALL_EXECUTABLE=ON,-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=OFF -DCIVETWEB_INSTALL_EXECUTABLE=OFF," |
| 40 | PACKAGECONFIG[ssl] = "-DCIVETWEB_ENABLE_SSL=ON -DCIVETWEB_SSL_OPENSSL_API_1_1=OFF -DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF,-DCIVETWEB_ENABLE_SSL=OFF,openssl (=1.0.2%)," | 39 | PACKAGECONFIG[ssl] = "-DCIVETWEB_ENABLE_SSL=ON -DCIVETWEB_SSL_OPENSSL_API_1_1=OFF -DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF,-DCIVETWEB_ENABLE_SSL=OFF,openssl (=1.0.2%)," |
| 41 | PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF," | 40 | PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF," |
| 42 | 41 | ||
