Message ID | 20170306104327.GC24367@airbook.vandijck-laurijssen.be |
---|---|
State | Superseded |
Headers | show |
Hello, On Mon, 6 Mar 2017 11:43:27 +0100, Kurt Van Dijck wrote: > This patch repairs the build for libwebsockets 2.1.1 > > Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> Thanks for this patch. > -- > diff --git a/package/libwebsockets/lws211-lib-libwebsockets-format.patch b/package/libwebsockets/lws211-lib-libwebsockets-format.patch > new file mode 100644 > index 0000000..a563048 > --- /dev/null > +++ b/package/libwebsockets/lws211-lib-libwebsockets-format.patch However, we require all patches to have a description + Signed-off-by line. Could you add one? But in fact, this issue has already been fixed upstream, by commit https://github.com/warmcat/libwebsockets/commit/f9f5a5760782b68fba190fb46d306f7c08f027c0. So you could instead do: LIBWEBSOCKETS_PATCH = https://github.com/warmcat/libwebsockets/commit/f9f5a5760782b68fba190fb46d306f7c08f027c0.patch (and add an entry in the .hash file) ? Thanks! Thomas
diff --git a/package/libwebsockets/lws211-lib-libwebsockets-format.patch b/package/libwebsockets/lws211-lib-libwebsockets-format.patch new file mode 100644 index 0000000..a563048 --- /dev/null +++ b/package/libwebsockets/lws211-lib-libwebsockets-format.patch @@ -0,0 +1,11 @@ +--- a/lib/libwebsockets.c 2017-03-06 11:37:03.699943521 +0100 ++++ b/lib/libwebsockets.c 2017-03-05 07:04:12.989997774 +0100 +@@ -642,7 +642,7 @@ + #ifdef LWS_USE_IPV6 + if (LWS_IPV6_ENABLED(vh)) { + if (!lws_plat_inet_ntop(AF_INET6, &((struct sockaddr_in6 *)ads)->sin6_addr, rip, rip_len)) { +- lwsl_err("inet_ntop", strerror(LWS_ERRNO)); ++ lwsl_err("inet_ntop %s", strerror(LWS_ERRNO)); + return -1; + } +
This patch repairs the build for libwebsockets 2.1.1 Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> --