summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-01-25 15:46:47 +0100
committerKhem Raj <raj.khem@gmail.com>2019-01-26 11:00:07 -0800
commitf394ef48f7b1ccf37119c90efc9ea21a6f1d14c8 (patch)
treedc64357e4de9e9ca67d2890e2654a4fdd34b1a61
parent3893910f9a64c38975cf6be3c49b62af0ae3177e (diff)
downloadmeta-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.patch26
-rw-r--r--meta-networking/recipes-connectivity/civetweb/civetweb_git.bb7
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 @@
1From 59f65235a7a690f50d1686e9977908c053697d8c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 28 Aug 2018 22:59:13 -0700
4Subject: [PATCH] undefine macro before redefining
5
6Fixes
7src/main.c:89:9: error: 'printf' macro redefined [-Werror,-Wmacro-redefined]
8
9Upstream-Stats: Submitted [https://github.com/civetweb/civetweb/pull/649]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/main.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/main.c b/src/main.c
16index 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"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f28fdcba0dda735eed62bac6a397562"
6 6
7SRCREV = "19f31ba8dd8443e86c7028a4b4c37f4b299aa68c" 7SRCREV = "ce8f6d38a60eb16c996afee1e5340f76ef4d0923"
8PV = "1.10+git${SRCPV}" 8PV = "1.11+git${SRCPV}"
9SRC_URI = "git://github.com/civetweb/civetweb.git \ 9SRC_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
14S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
@@ -36,7 +35,7 @@ PACKAGECONFIG[cgi] = "-DCIVETWEB_DISABLE_CGI=OFF,-DCIVETWEB_DISABLE_CGI=ON,"
36PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF," 35PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF,"
37PACKAGECONFIG[debug] = "-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF," 36PACKAGECONFIG[debug] = "-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF,"
38PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF," 37PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF,"
39PACKAGECONFIG[server] = "-DCIVETWEB_INSTALL_EXECUTABLE=ON,-DCIVETWEB_INSTALL_EXECUTABLE=OFF," 38PACKAGECONFIG[server] = "-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=ON -DCIVETWEB_INSTALL_EXECUTABLE=ON,-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=OFF -DCIVETWEB_INSTALL_EXECUTABLE=OFF,"
40PACKAGECONFIG[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%)," 39PACKAGECONFIG[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%),"
41PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF," 40PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF,"
42 41