[Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 6 10:28:13 UTC 2019


Hello,

Thanks for your contribution!

On Wed,  2 Jan 2019 17:32:50 +0800
qwendu <qwendu at gmail.com> wrote:

> added -fno-strict-aliasing to fixed the following error:
> ...
> libwebsockets-v3.1.0/lib/event-libs/libev/libev.c:34:3: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
>     ev_timer_set(&pt->ev.hrtimer, ((float)us) / 1000000.0, 0);
> 
> Signed-off-by: qwendu <qwendu at gmail.com>
> ---
>  package/libwebsockets/cmake-no-strict-aliasin.patch | 16 ++++++++++++++++
>  package/libwebsockets/libwebsockets.hash            |  2 +-
>  package/libwebsockets/libwebsockets.mk              |  2 +-
>  3 files changed, 18 insertions(+), 2 deletions(-)
>  create mode 100644 package/libwebsockets/cmake-no-strict-aliasin.patch
> 
> diff --git a/package/libwebsockets/cmake-no-strict-aliasin.patch b/package/libwebsockets/cmake-no-strict-aliasin.patch
> new file mode 100644
> index 0000000..8515d40
> --- /dev/null
> +++ b/package/libwebsockets/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

Patches must have a description and a Signed-off-by, and should be
generated with "git format-patch -N". Also, it seems like another patch
was necessary, but you sent it separately, it should be part of the
same commit.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list