From 2097e1ba3904be8f7cd388fe1d16a099da83ef99 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Tue, 19 Apr 2022 20:47:56 +0200 Subject: [PATCH] packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements Fixes: CMake Error at /home/buildroot/autobuild/run/instance-2/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/lib/cmake/libwebsockets/libwebsockets-config.cmake:35 (include): include could not find load file: LwsCheckRequirements Call Stack (most recent call first): CMakeLists.txt:54 (find_package) Signed-off-by: Bartosz Bilas Signed-off-by: Bartosz Bilas Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch diff --git a/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch new file mode 100644 index 0000000000..fc76a2b610 --- /dev/null +++ b/package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch @@ -0,0 +1,26 @@ +From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Mon, 7 Feb 2022 14:48:55 +0000 +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements + +Signed-off-by: Andy Green +Signed-off-by: Bartosz Bilas +Signed-off-by: Bartosz Bilas +--- + cmake/libwebsockets-config.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in +index 6247b2cb..8ba97e6f 100644 +--- a/cmake/libwebsockets-config.cmake.in ++++ b/cmake/libwebsockets-config.cmake.in +@@ -32,6 +32,5 @@ endforeach() + + include(CheckIncludeFile) + include(CheckCSourceCompiles) +-include(LwsCheckRequirements) + set(requirements 1) + +-- +2.35.3 +