libwebsockets: solve the BEP problem
Signed-off-by: wujing <wujing50@huawei.com>
This commit is contained in:
parent
7352eb58f1
commit
e0e419dcfd
26
0004-solve-the-BEP-problem.patch
Normal file
26
0004-solve-the-BEP-problem.patch
Normal 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
|
||||
|
||||
@ -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 <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
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user