summaryrefslogtreecommitdiff
path: root/net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch')
-rw-r--r--net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch b/net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch
new file mode 100644
index 000000000000..9fe9489297f4
--- /dev/null
+++ b/net-libs/libwebsockets/files/libwebsockets-2.1.1-x86-build.patch
@@ -0,0 +1,22 @@
+From f9f5a5760782b68fba190fb46d306f7c08f027c0 Mon Sep 17 00:00:00 2001
+From: Silas Parker <skyhisi@users.github.invalid>
+Date: Tue, 14 Feb 2017 17:55:13 +0800
+Subject: [PATCH] gcc-format-strings: ipv6
+
+---
+ lib/libwebsockets.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
+index 770cb24..8ee906a 100755
+--- a/lib/libwebsockets.c
++++ b/lib/libwebsockets.c
+@@ -670,7 +670,7 @@ lws_get_addresses(struct lws_vhost *vh, void *ads, char *name,
+ #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;
+ }
+