Browse Source

upgrading package: libwebsockets 4.2.2 -> 4.3.0

master
parent
commit
1574af201a
  1. 20
      libwebsockets/libwebsockets.patch
  2. 4
      libwebsockets/libwebsockets.spec

20
libwebsockets/libwebsockets.patch

@ -1,19 +1,19 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig 2021-04-15 18:44:02.000000000 +0200
+++ CMakeLists.txt 2021-04-16 09:03:42.312121000 +0200
@@ -754,9 +754,9 @@
--- CMakeLists.txt.orig 2021-10-04 15:30:52.000000000 +0200
+++ CMakeLists.txt 2021-10-04 19:53:20.119029000 +0200
@@ -790,9 +790,9 @@
# always warn all and generate debug info
if (UNIX AND NOT LWS_PLAT_FREERTOS)
- set(CMAKE_C_FLAGS "-Wall -Wconversion -Wsign-compare -Wstrict-aliasing ${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
- set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wconversion -Wsign-compare -Wstrict-aliasing ${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
+ set(CMAKE_C_FLAGS "-Wno-unused-parameter ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
else()
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
endif()
if ("${DISABLE_WERROR}" STREQUAL "OFF")
@@ -999,8 +999,6 @@
@@ -1035,8 +1035,6 @@
# Installation preparations.
#
@ -23,9 +23,9 @@ Index: CMakeLists.txt
DESTINATION "${LWS_INSTALL_INCLUDE_DIR}" COMPONENT dev)
install(FILES ${PROJECT_BINARY_DIR}/include/libwebsockets.h ${PROJECT_BINARY_DIR}/include/lws_config.h
Index: lib/CMakeLists.txt
--- lib/CMakeLists.txt.orig 2021-04-15 18:44:02.000000000 +0200
+++ lib/CMakeLists.txt 2021-04-16 09:00:56.659549000 +0200
@@ -306,7 +306,7 @@
--- lib/CMakeLists.txt.orig 2021-10-04 15:30:52.000000000 +0200
+++ lib/CMakeLists.txt 2021-10-04 19:50:08.800283000 +0200
@@ -308,7 +308,7 @@
Description: Websockets server and client library
Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
@ -34,7 +34,7 @@ Index: lib/CMakeLists.txt
Cflags: -I\${includedir}
"
)
@@ -328,7 +328,7 @@
@@ -330,7 +330,7 @@
Description: Websockets server and client static library
Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}

4
libwebsockets/libwebsockets.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: EVAL
Group: Networking
License: LGPL
Version: 4.2.2
Release: 20210829
Version: 4.3.0
Release: 20211004
# list of sources
Source0: https://github.com/warmcat/libwebsockets/archive/v%{version}.tar.gz

Loading…
Cancel
Save