Browse Source

upgrading package: libwebsockets 3.0.1 -> 3.2.1

master
parent
commit
d089b8d22e
  1. 18
      libwebsockets/libwebsockets.patch
  2. 4
      libwebsockets/libwebsockets.spec

18
libwebsockets/libwebsockets.patch

@ -1,19 +1,19 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig 2018-09-07 09:47:52.000000000 +0200
+++ CMakeLists.txt 2019-09-14 10:09:54.026228000 +0200
@@ -1055,9 +1055,9 @@
endif()
--- CMakeLists.txt.orig 2019-12-18 15:45:31.000000000 +0100
+++ CMakeLists.txt 2019-12-19 20:10:15.572693000 +0100
@@ -1482,9 +1482,9 @@
endif()
if (UNIX AND NOT LWS_WITH_ESP32)
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare -Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror ${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare -Wuninitialized -Werror ${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} -Wundef ${GCOV_FLAGS} ${CMAKE_C_FLAGS} ${ASAN_FLAGS}" )
else()
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare -Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
- set(CMAKE_C_FLAGS "-Wall -Wsign-compare -Wuninitialized -Werror ${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
+ set(CMAKE_C_FLAGS "${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
endif()
endif ()
@@ -1921,7 +1921,7 @@
@@ -2430,7 +2430,7 @@
Description: Websockets server and client library
Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
@ -22,7 +22,7 @@ Index: CMakeLists.txt
Cflags: -I\${includedir}"
)
@@ -1967,8 +1967,6 @@
@@ -2476,8 +2476,6 @@
FILE "${PROJECT_BINARY_DIR}/LibwebsocketsTargets.cmake")
endif()

4
libwebsockets/libwebsockets.spec

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

Loading…
Cancel
Save