From 745b591d7e6a2d294ba32644d43f31ce3f570b70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Wed, 30 Mar 2016 22:22:36 +0200 Subject: [PATCH] libwebsockets: add patch to fix musl build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add patch from upstream [1] to fix musl build: fatal error: sys/cdefs.h: No such file or directory Fixes: http://autobuild.buildroot.net/results/564/564675be0d4fbfa113a0f2e52874e0dce2d5ba5e/ http://autobuild.buildroot.net/results/c41/c41d87c0cf22f3b88e5f80ad6bf5e81900603c1d/ Backported from: 9eec5e4470397632af035c429295a41b74bd0585 [1] https://github.com/warmcat/libwebsockets/commit/9eec5e4470397632af035c429295a41b74bd0585 Signed-off-by: Jörg Krause Signed-off-by: Thomas Petazzoni --- package/libwebsockets/libwebsockets.hash | 1 + package/libwebsockets/libwebsockets.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash index 7727ac508a..745bc49abe 100644 --- a/package/libwebsockets/libwebsockets.hash +++ b/package/libwebsockets/libwebsockets.hash @@ -1,2 +1,3 @@ # Locally computed: sha256 c6f3272d7e0234a9ef92b38622f36c4166eede4225e36fe4f78dd2ade03e9c52 libwebsockets-v1.7.3.tar.gz +sha256 c7627d8e3d9d695b965a6c5fe30f4b4c04666984b384acd9e24c3b59cef13816 9eec5e4470397632af035c429295a41b74bd0585.patch diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index 72bb28073e..395a2edcd9 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -11,6 +11,7 @@ LIBWEBSOCKETS_LICENSE_FILES = LICENSE LIBWEBSOCKETS_DEPENDENCIES = zlib LIBWEBSOCKETS_INSTALL_STAGING = YES LIBWEBSOCKETS_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON +LIBWEBSOCKETS_PATCH = https://github.com/warmcat/libwebsockets/commit/9eec5e4470397632af035c429295a41b74bd0585.patch ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl -- 2.30.2