From fa8d58ebe86205a64d2bf4a5a8e481e8a5627b9c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 1 Jan 2025 23:37:25 +0100 Subject: [PATCH] package/c-icap: backport patch fixing missing include This commit backports an upstream patch that fixes a missing include, causing build failures with toolchains based on GCC 14.x. Fixes: http://autobuild.buildroot.net/results/a9999fd417aa5edcd6302e674a72a99d89675466/ Signed-off-by: Thomas Petazzoni [Julien: fix broken autobuild url in commit log] Signed-off-by: Julien Olivain (cherry picked from commit ff3861a344d0832e48bc0daee77f8bcd6518d099) Signed-off-by: Peter Korsgaard --- ...ing-about-missing-stdio.h-include-fi.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/c-icap/0002-Fix-compile-warning-about-missing-stdio.h-include-fi.patch diff --git a/package/c-icap/0002-Fix-compile-warning-about-missing-stdio.h-include-fi.patch b/package/c-icap/0002-Fix-compile-warning-about-missing-stdio.h-include-fi.patch new file mode 100644 index 0000000000..986ed43355 --- /dev/null +++ b/package/c-icap/0002-Fix-compile-warning-about-missing-stdio.h-include-fi.patch @@ -0,0 +1,25 @@ +From ae8a1bc4979c797bb1f152fc92cfe6bc05a44594 Mon Sep 17 00:00:00 2001 +From: Christos Tsantilas +Date: Tue, 20 Nov 2018 17:10:16 +0200 +Subject: [PATCH] Fix compile warning about missing stdio.h include file + +Signed-off-by: Thomas Petazzoni +Upstream: https://github.com/c-icap/c-icap-server/commit/ae8a1bc4979c797bb1f152fc92cfe6bc05a44594 +--- + tests/test_base64.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test_base64.c b/tests/test_base64.c +index 8a4a76c..7692197 100644 +--- a/tests/test_base64.c ++++ b/tests/test_base64.c +@@ -1,5 +1,6 @@ + #include "common.h" + #include "simple_api.h" ++#include + + + int main(int argc, char *argv[]) +-- +2.47.1 +