From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0
Date: Wed, 6 Feb 2019 11:28:13 +0100 [thread overview]
Message-ID: <20190206112813.4103d637@windsurf> (raw)
In-Reply-To: <1546421571-18627-1-git-send-email-qwendu@gmail.com>
Hello,
Thanks for your contribution!
On Wed, 2 Jan 2019 17:32:50 +0800
qwendu <qwendu@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@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
prev parent reply other threads:[~2019-02-06 10:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-02 9:32 [Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0 qwendu
2019-01-02 9:32 ` qwendu
2019-02-06 10:28 ` Thomas Petazzoni
2019-02-06 10:28 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190206112813.4103d637@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox