summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-19 17:33:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:25 +0100
commit50a9e1e306e9b44b78eebc062487bbc64baf80c5 (patch)
treebf79307a645059615900c479ee358d25210ce00a
parent6f138098b113b486b3fa3b9e8c1bb6cbdf0dda6c (diff)
downloadpoky-50a9e1e306e9b44b78eebc062487bbc64baf80c5.tar.gz
lighttpd: update 1.4.59 -> 1.4.60
(From OE-Core rev: f7753438aa164be1371f599969c829a276881589) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd/0001-meson-add-with_zstd-to-meson_options.txt.patch27
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch38
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb (renamed from meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb)4
3 files changed, 40 insertions, 29 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd/0001-meson-add-with_zstd-to-meson_options.txt.patch b/meta/recipes-extended/lighttpd/lighttpd/0001-meson-add-with_zstd-to-meson_options.txt.patch
deleted file mode 100644
index ceedccbd11..0000000000
--- a/meta/recipes-extended/lighttpd/lighttpd/0001-meson-add-with_zstd-to-meson_options.txt.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From f24bd105388c305beeead5d3fa0a028b82354f18 Mon Sep 17 00:00:00 2001
2From: Glenn Strauss <gstrauss@gluelogic.com>
3Date: Wed, 3 Feb 2021 00:35:34 -0500
4Subject: [PATCH] [meson] add with_zstd to meson_options.txt
5
6Upstream-Status: Backport
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 meson_options.txt | 5 +++++
10 1 file changed, 5 insertions(+)
11
12diff --git a/meson_options.txt b/meson_options.txt
13index 51bea44d..f6687159 100644
14--- a/meson_options.txt
15+++ b/meson_options.txt
16@@ -148,6 +148,11 @@ option('with_zlib',
17 value: true,
18 description: 'with deflate-support for mod_deflate [default: on]',
19 )
20+option('with_zstd',
21+ type: 'boolean',
22+ value: false,
23+ description: 'with zstd-support for mod_deflate [default: off]',
24+)
25
26 option('build_extra_warnings',
27 type: 'boolean',
diff --git a/meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch b/meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch
new file mode 100644
index 0000000000..2a9bb352b5
--- /dev/null
+++ b/meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch
@@ -0,0 +1,38 @@
1From c1466f3620f608e4def4b8853c4e2bc6d9a19646 Mon Sep 17 00:00:00 2001
2From: Glenn Strauss <gstrauss@gluelogic.com>
3Date: Mon, 4 Oct 2021 09:51:22 -0400
4Subject: [PATCH] define __BEGIN_DECLS, __END_DECLS if needed
5
6Upstream-Status: Backport
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
8---
9 src/first.h | 16 ++++++++++++++++
10 1 file changed, 16 insertions(+)
11
12diff --git a/src/first.h b/src/first.h
13index df747ba..9d0428a 100644
14--- a/src/first.h
15+++ b/src/first.h
16@@ -39,6 +39,22 @@
17 #include <sys/types.h>
18 #include <stddef.h>
19
20+#ifndef __BEGIN_DECLS
21+#ifdef __cplusplus
22+#define __BEGIN_DECLS extern "C" {
23+#else
24+#define __BEGIN_DECLS
25+#endif
26+#endif
27+
28+#ifndef __END_DECLS
29+#ifdef __cplusplus
30+#define __END_DECLS }
31+#else
32+#define __END_DECLS
33+#endif
34+#endif
35+
36 #if defined HAVE_STDINT_H
37 # include <stdint.h>
38 #elif defined HAVE_INTTYPES_H
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb
index 8cb3a9a18c..dca8934ad2 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.59.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb
@@ -18,10 +18,10 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
18 file://lighttpd.conf \ 18 file://lighttpd.conf \
19 file://lighttpd \ 19 file://lighttpd \
20 file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \ 20 file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \
21 file://0001-meson-add-with_zstd-to-meson_options.txt.patch \ 21 file://0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch \
22 " 22 "
23 23
24SRC_URI[sha256sum] = "fb953db273daef08edb6e202556cae8a3d07eed6081c96bd9903db957d1084d5" 24SRC_URI[sha256sum] = "4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0"
25 25
26DEPENDS = "virtual/crypt" 26DEPENDS = "virtual/crypt"
27 27