diff --git a/0004-solve-the-BEP-problem.patch b/0004-solve-the-BEP-problem.patch new file mode 100644 index 0000000000000000000000000000000000000000..d90c60c981e2f65e9de5ccd9ddf383abcda39a48 --- /dev/null +++ b/0004-solve-the-BEP-problem.patch @@ -0,0 +1,26 @@ +From ab91310fe04a6c88a0e20d21888df01d438fbc44 Mon Sep 17 00:00:00 2001 +From: wujing +Date: Mon, 10 May 2021 15:09:37 +0800 +Subject: [PATCH] solve the BEP problem + +Signed-off-by: wujing +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f3d3433..7efde2e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -362,7 +362,7 @@ if(WIN32) + endif() + + # Try to find the current Git hash. +-find_package(Git) ++# find_package(Git) + if(GIT_EXECUTABLE) + execute_process( + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" +-- +2.31.1 + diff --git a/libwebsockets.spec b/libwebsockets.spec index 6e6c3fa8571b7a7984f7ca904318cbe501269de3..1a402363d4e11fc90af03a185f98fe6fc3d0b002 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,6 +1,6 @@ Name: libwebsockets Version: 4.0.20 -Release: 5 +Release: 6 Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib URL: https://libwebsockets.org @@ -9,6 +9,7 @@ Source0: https://github.com/warmcat/libwebsockets/archive/v%{version}.tar Patch9000: 0001-add-secure-compile-option-in-Makefile.patch Patch9001: 0002-cmake-remove-unused-headfile-directory.patch Patch9002: 0003-add-fs-secure-compile-options.patch +Patch9003: 0004-solve-the-BEP-problem.patch BuildRequires: cmake openssl-devel zlib-devel libev-devel git @@ -98,6 +99,12 @@ find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' %doc changelog README.md READMEs/ %changelog +* Mon 10 May 2021 wujing - 4.0.20-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: solve the BEP problem + * Tue 16 Mar 2021 lifeng - 4.0.20-5 - Type:bugfix - ID:NA