libwebsockets: add patch to fix musl build
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 30 Mar 2016 20:22:36 +0000 (22:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 31 Mar 2016 01:49:10 +0000 (03:49 +0200)
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 <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libwebsockets/libwebsockets.hash
package/libwebsockets/libwebsockets.mk

index 7727ac508a0ac6232659a9554e042b34abd5cfc9..745bc49abe1749e0a2d2e734f80b1077bc0a6519 100644 (file)
@@ -1,2 +1,3 @@
 # Locally computed:
 sha256  c6f3272d7e0234a9ef92b38622f36c4166eede4225e36fe4f78dd2ade03e9c52  libwebsockets-v1.7.3.tar.gz
+sha256  c7627d8e3d9d695b965a6c5fe30f4b4c04666984b384acd9e24c3b59cef13816  9eec5e4470397632af035c429295a41b74bd0585.patch
index 72bb28073e6ef4962f34cf5467223d1d798e5d1b..395a2edcd989a2cbf6254517d23986d51072e41f 100644 (file)
@@ -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