From: Alexander Kanavin <[email protected]> Signed-off-by: Alexander Kanavin <[email protected]> --- ...-__BEGIN_DECLS-__END_DECLS-if-needed.patch | 38 ------------------- ...{lighttpd_1.4.60.bb => lighttpd_1.4.61.bb} | 3 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch rename meta/recipes-extended/lighttpd/{lighttpd_1.4.60.bb => lighttpd_1.4.61.bb} (95%)
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 deleted file mode 100644 index 2a9bb352b5..0000000000 --- a/meta/recipes-extended/lighttpd/lighttpd/0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch +++ /dev/null @@ -1,38 +0,0 @@ -From c1466f3620f608e4def4b8853c4e2bc6d9a19646 Mon Sep 17 00:00:00 2001 -From: Glenn Strauss <[email protected]> -Date: Mon, 4 Oct 2021 09:51:22 -0400 -Subject: [PATCH] define __BEGIN_DECLS, __END_DECLS if needed - -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin <[email protected]> ---- - src/first.h | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/src/first.h b/src/first.h -index df747ba..9d0428a 100644 ---- a/src/first.h -+++ b/src/first.h -@@ -39,6 +39,22 @@ - #include <sys/types.h> - #include <stddef.h> - -+#ifndef __BEGIN_DECLS -+#ifdef __cplusplus -+#define __BEGIN_DECLS extern "C" { -+#else -+#define __BEGIN_DECLS -+#endif -+#endif -+ -+#ifndef __END_DECLS -+#ifdef __cplusplus -+#define __END_DECLS } -+#else -+#define __END_DECLS -+#endif -+#endif -+ - #if defined HAVE_STDINT_H - # include <stdint.h> - #elif defined HAVE_INTTYPES_H diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.61.bb similarity index 95% rename from meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb rename to meta/recipes-extended/lighttpd/lighttpd_1.4.61.bb index dca8934ad2..32b0ae4ace 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.60.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.61.bb @@ -18,10 +18,9 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t file://lighttpd.conf \ file://lighttpd \ file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch \ - file://0002-define-__BEGIN_DECLS-__END_DECLS-if-needed.patch \ " -SRC_URI[sha256sum] = "4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0" +SRC_URI[sha256sum] = "43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432" DEPENDS = "virtual/crypt" -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157750): https://lists.openembedded.org/g/openembedded-core/message/157750 Mute This Topic: https://lists.openembedded.org/mt/86761723/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
