libwebsockets: solve the BEP problem

Signed-off-by: wujing <wujing50@huawei.com>
This commit is contained in:
wujing 2021-05-10 15:18:30 +08:00
parent 7352eb58f1
commit e0e419dcfd
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From ab91310fe04a6c88a0e20d21888df01d438fbc44 Mon Sep 17 00:00:00 2001
From: wujing <wujing50@huawei.com>
Date: Mon, 10 May 2021 15:09:37 +0800
Subject: [PATCH] solve the BEP problem
Signed-off-by: wujing <wujing50@huawei.com>
---
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

View File

@ -1,6 +1,6 @@
Name: libwebsockets Name: libwebsockets
Version: 4.0.20 Version: 4.0.20
Release: 5 Release: 6
Summary: A lightweight C library for Websockets Summary: A lightweight C library for Websockets
License: LGPLv2 and Public Domain and BSD and MIT and zlib License: LGPLv2 and Public Domain and BSD and MIT and zlib
URL: https://libwebsockets.org 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 Patch9000: 0001-add-secure-compile-option-in-Makefile.patch
Patch9001: 0002-cmake-remove-unused-headfile-directory.patch Patch9001: 0002-cmake-remove-unused-headfile-directory.patch
Patch9002: 0003-add-fs-secure-compile-options.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 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/ %doc changelog README.md READMEs/
%changelog %changelog
* Mon 10 May 2021 wujing <wujing50@huawei.com> - 4.0.20-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: solve the BEP problem
* Tue 16 Mar 2021 lifeng <lifeng68@huawei.com> - 4.0.20-5 * Tue 16 Mar 2021 lifeng <lifeng68@huawei.com> - 4.0.20-5
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA