[packages/libwebsockets] - disable deprecated API warnings to rebuild with openssl 3.0.0, rel 2

baggins baggins at pld-linux.org
Tue Oct 5 23:25:30 CEST 2021


commit 1e5fd6c96893d5a95e5bb7ca5a0afbc5ce455374
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Oct 5 23:25:02 2021 +0200

    - disable deprecated API warnings to rebuild with openssl 3.0.0, rel 2

 libwebsockets.spec | 57 +++++++++++++++++++++++++++---------------------------
 1 file changed, 29 insertions(+), 28 deletions(-)
---
diff --git a/libwebsockets.spec b/libwebsockets.spec
index 2c8eaae..e736767 100644
--- a/libwebsockets.spec
+++ b/libwebsockets.spec
@@ -1,7 +1,7 @@
 Summary:	Lightweight C library for Websockets
 Name:		libwebsockets
 Version:	4.2.0
-Release:	1
+Release:	2
 License:	MIT
 Source0:	https://github.com/warmcat/libwebsockets/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	e6613bf565664adb6954f17c8e908149
@@ -37,33 +37,34 @@ cd build
 
 export CFLAGS="%{rpmcflags} -pthread"
 %cmake \
-	-D LWS_WITH_HTTP2=ON \
-	-D LWS_IPV6=ON \
-	-D LWS_WITH_ZIP_FOPS=ON \
-	-D LWS_WITH_SOCKS5=ON \
-	-D LWS_WITH_RANGES=ON \
-	-D LWS_WITH_ACME=ON \
-	-D LWS_WITH_LIBUV=ON \
-	-D LWS_WITH_LIBEV=ON \
-	-D LWS_WITH_LIBEVENT=OFF \
-	-D LWS_WITH_FTS=ON \
-	-D LWS_WITH_THREADPOOL=ON \
-	-D LWS_UNIX_SOCK=ON \
-	-D LWS_WITH_HTTP_PROXY=ON \
-	-D LWS_WITH_DISKCACHE=ON \
-	-D LWS_WITH_LWSAC=ON \
-	-D LWS_LINK_TESTAPPS_DYNAMIC=ON \
-	-D LWS_WITHOUT_BUILTIN_GETIFADDRS=ON \
-	-D LWS_USE_BUNDLED_ZLIB=OFF \
-	-D LWS_WITHOUT_BUILTIN_SHA1=ON \
-	-D LWS_WITH_STATIC=OFF \
-	-D LWS_WITHOUT_CLIENT=OFF \
-	-D LWS_WITHOUT_SERVER=OFF \
-	-D LWS_WITHOUT_TESTAPPS=ON \
-	-D LWS_WITHOUT_TEST_SERVER=ON \
-	-D LWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-	-D LWS_WITHOUT_TEST_PING=ON \
-	-D LWS_WITHOUT_TEST_CLIENT=ON \
+	-DLWS_SUPPRESS_DEPRECATED_API_WARNINGS=ON \
+	-DLWS_WITH_HTTP2=ON \
+	-DLWS_IPV6=ON \
+	-DLWS_WITH_ZIP_FOPS=ON \
+	-DLWS_WITH_SOCKS5=ON \
+	-DLWS_WITH_RANGES=ON \
+	-DLWS_WITH_ACME=ON \
+	-DLWS_WITH_LIBUV=ON \
+	-DLWS_WITH_LIBEV=ON \
+	-DLWS_WITH_LIBEVENT=OFF \
+	-DLWS_WITH_FTS=ON \
+	-DLWS_WITH_THREADPOOL=ON \
+	-DLWS_UNIX_SOCK=ON \
+	-DLWS_WITH_HTTP_PROXY=ON \
+	-DLWS_WITH_DISKCACHE=ON \
+	-DLWS_WITH_LWSAC=ON \
+	-DLWS_LINK_TESTAPPS_DYNAMIC=ON \
+	-DLWS_WITHOUT_BUILTIN_GETIFADDRS=ON \
+	-DLWS_USE_BUNDLED_ZLIB=OFF \
+	-DLWS_WITHOUT_BUILTIN_SHA1=ON \
+	-DLWS_WITH_STATIC=OFF \
+	-DLWS_WITHOUT_CLIENT=OFF \
+	-DLWS_WITHOUT_SERVER=OFF \
+	-DLWS_WITHOUT_TESTAPPS=ON \
+	-DLWS_WITHOUT_TEST_SERVER=ON \
+	-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
+	-DLWS_WITHOUT_TEST_PING=ON \
+	-DLWS_WITHOUT_TEST_CLIENT=ON \
 	..
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libwebsockets.git/commitdiff/1e5fd6c96893d5a95e5bb7ca5a0afbc5ce455374



More information about the pld-cvs-commit mailing list