* [Buildroot] [PATCH]libwebsockets: bump to v3.1.0
@ 2018-12-27 9:31 qwen dux
0 siblings, 0 replies; 3+ messages in thread
From: qwen dux @ 2018-12-27 9:31 UTC (permalink / raw)
To: buildroot
diff --git a/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
b/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
deleted file mode 100644
index 8515d40..0000000
--- a/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 453fdfd..6fd1712 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1233,9 +1233,9 @@ if (CMAKE_COMPILER_IS_GNUCC OR
CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_C_COMPILER_ID
- 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} ${ASAN_FLAGS}" )
-+ set(CMAKE_C_FLAGS "-fno-strict-aliasing -Wall -Wsign-compare
-Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror
${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 "-fno-strict-aliasing -Wall -Wsign-compare
-Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror
${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
- endif()
- endif ()
-
diff --git a/package/libwebsockets/0002-libuv.c.uninitialized.patch
b/package/libwebsockets/0002-libuv.c.uninitialized.patch
deleted file mode 100644
index 319afee..0000000
--- a/package/libwebsockets/0002-libuv.c.uninitialized.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/event-libs/libuv/libuv.c b/lib/event-libs/libuv/libuv.c
-index 39363f1..746d6ba 100644
---- a/lib/event-libs/libuv/libuv.c
-+++ b/lib/event-libs/libuv/libuv.c
-@@ -503,7 +503,7 @@ static int
- elops_destroy_context1_uv(struct lws_context *context)
- {
- struct lws_context_per_thread *pt;
-- int n, m;
-+ int n, m=0;
-
- for (n = 0; n < context->count_threads; n++) {
- int budget = 10000;
diff --git a/package/libwebsockets/libwebsockets.hash
b/package/libwebsockets/libwebsockets.hash
index d86d14b..ea7c8ca 100644
--- a/package/libwebsockets/libwebsockets.hash
+++ b/package/libwebsockets/libwebsockets.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 db948be74c78fc13f1f1a55e76707d7baae3a1c8f62b625f639e8f2736298324
libwebsockets-v3.1.0.tar.gz
+sha256 73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6
libwebsockets-v2.4.2.tar.gz
sha256 078fbbbeab357fc6d4f8090e95e9022fa4cb9eac1efd77b2f1387e9ccc51917a
LICENSE
diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/
libwebsockets.mk
index 238410f..81e398b 100644
--- a/package/libwebsockets/libwebsockets.mk
+++ b/package/libwebsockets/libwebsockets.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBWEBSOCKETS_VERSION = v3.1.0
+LIBWEBSOCKETS_VERSION = v2.4.2
LIBWEBSOCKETS_SITE = $(call
github,warmcat,libwebsockets,$(LIBWEBSOCKETS_VERSION))
LIBWEBSOCKETS_LICENSE = LGPL-2.1 with exceptions
LIBWEBSOCKETS_LICENSE_FILES = LICENSE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181227/5dc76eb4/attachment.html>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH]libwebsockets: bump to v3.1.0
@ 2018-12-27 9:39 qwen dux
2018-12-27 15:37 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: qwen dux @ 2018-12-27 9:39 UTC (permalink / raw)
To: buildroot
I'm sorry, Please ignore the previous e-mail, and subject to this e-mail.
diff --git a/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
b/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
new file mode 100644
index 0000000..8515d40
--- /dev/null
+++ b/package/libwebsockets/0001-cmake-no-strict-aliasin.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 453fdfd..6fd1712 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1233,9 +1233,9 @@ if (CMAKE_COMPILER_IS_GNUCC OR
CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_C_COMPILER_ID
+ 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} ${ASAN_FLAGS}" )
++ set(CMAKE_C_FLAGS "-fno-strict-aliasing -Wall -Wsign-compare
-Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror
${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 "-fno-strict-aliasing -Wall -Wsign-compare
-Wignored-qualifiers -Wtype-limits -Wuninitialized -Werror
${VISIBILITY_FLAG} ${GCOV_FLAGS} ${CMAKE_C_FLAGS}" )
+ endif()
+ endif ()
+
diff --git a/package/libwebsockets/0002-libuv.c.uninitialized.patch
b/package/libwebsockets/0002-libuv.c.uninitialized.patch
new file mode 100644
index 0000000..319afee
--- /dev/null
+++ b/package/libwebsockets/0002-libuv.c.uninitialized.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/event-libs/libuv/libuv.c b/lib/event-libs/libuv/libuv.c
+index 39363f1..746d6ba 100644
+--- a/lib/event-libs/libuv/libuv.c
++++ b/lib/event-libs/libuv/libuv.c
+@@ -503,7 +503,7 @@ static int
+ elops_destroy_context1_uv(struct lws_context *context)
+ {
+ struct lws_context_per_thread *pt;
+- int n, m;
++ int n, m=0;
+
+ for (n = 0; n < context->count_threads; n++) {
+ int budget = 10000;
diff --git a/package/libwebsockets/libwebsockets.hash
b/package/libwebsockets/libwebsockets.hash
index ea7c8ca..d86d14b 100644
--- a/package/libwebsockets/libwebsockets.hash
+++ b/package/libwebsockets/libwebsockets.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 73012d7fcf428dedccc816e83a63a01462e27819d5537b8e0d0c7264bfacfad6
libwebsockets-v2.4.2.tar.gz
+sha256 db948be74c78fc13f1f1a55e76707d7baae3a1c8f62b625f639e8f2736298324
libwebsockets-v3.1.0.tar.gz
sha256 078fbbbeab357fc6d4f8090e95e9022fa4cb9eac1efd77b2f1387e9ccc51917a
LICENSE
diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/
libwebsockets.mk
index 81e398b..238410f 100644
--- a/package/libwebsockets/libwebsockets.mk
+++ b/package/libwebsockets/libwebsockets.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBWEBSOCKETS_VERSION = v2.4.2
+LIBWEBSOCKETS_VERSION = v3.1.0
LIBWEBSOCKETS_SITE = $(call
github,warmcat,libwebsockets,$(LIBWEBSOCKETS_VERSION))
LIBWEBSOCKETS_LICENSE = LGPL-2.1 with exceptions
LIBWEBSOCKETS_LICENSE_FILES = LICENSE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181227/885af4e3/attachment.html>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH]libwebsockets: bump to v3.1.0
2018-12-27 9:39 [Buildroot] [PATCH]libwebsockets: bump to v3.1.0 qwen dux
@ 2018-12-27 15:37 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-12-27 15:37 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 27 Dec 2018 17:39:41 +0800, qwen dux wrote:
> I'm sorry, Please ignore the previous e-mail, and subject to this e-mail.
Thanks for your contribution! Unfortunately, your patch cannot be
applied. Could you please send it with "git send-email", as described
in the Buildroot documentation:
https://buildroot.org/downloads/manual/manual.html#submitting-patches
Thanks a lot,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-27 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-27 9:39 [Buildroot] [PATCH]libwebsockets: bump to v3.1.0 qwen dux
2018-12-27 15:37 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2018-12-27 9:31 qwen dux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox