diff mbox series

packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements

Message ID 20220419184756.255846-1-b.bilas@grinn-global.com
State Accepted
Headers show
Series packages/libwebsockets: add patch that removes duplicate LwsCheckRequirements | expand

Commit Message

Bartosz Bilas April 19, 2022, 6:47 p.m. UTC
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 <bartosz.bilas@hotmail.com>
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 ...emove-duplicate-LwsCheckRequirements.patch | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/libwebsockets/0001-cmake-remove-duplicate-LwsCheckRequirements.patch

Comments

Arnout Vandecappelle April 23, 2022, 3:08 p.m. UTC | #1
On 19/04/2022 20:47, Bartosz Bilas wrote:
> 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 <bartosz.bilas@hotmail.com>
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   ...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 <andy@warmcat.com>
> +Date: Mon, 7 Feb 2022 14:48:55 +0000
> +Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements
> +
> +Signed-off-by: Andy Green <andy@warmcat.com>
> +Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
> +Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> +---
> + 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
> +
diff mbox series

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 <andy@warmcat.com>
+Date: Mon, 7 Feb 2022 14:48:55 +0000
+Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements
+
+Signed-off-by: Andy Green <andy@warmcat.com>
+Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
+Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
+---
+ 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
+