diff --git a/srcpkgs/mosquitto/patches/fix-musl.patch b/srcpkgs/mosquitto/patches/fix-musl.patch new file mode 100644 index 00000000000..fbb38903f81 --- /dev/null +++ b/srcpkgs/mosquitto/patches/fix-musl.patch @@ -0,0 +1,13 @@ +diff --git client/client_shared.h client/client_shared.h +index 18686cd..f0711f8 100644 +--- client/client_shared.h ++++ client/client_shared.h +@@ -18,6 +18,7 @@ Contributors: + #define CLIENT_CONFIG_H + + #include ++#include /* for timeval */ + + /* pub_client.c modes */ + #define MSGMODE_NONE 0 + diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template index 5863ba49587..12bcafb02e4 100644 --- a/srcpkgs/mosquitto/template +++ b/srcpkgs/mosquitto/template @@ -1,20 +1,20 @@ # Template file for 'mosquitto' pkgname=mosquitto -version=1.5.8 +version=1.6.0 revision=1 build_style=gnu-makefile make_build_args="WITH_TLS_PSK=no WITH_WEBSOCKETS=yes" # PSK not supported by libressl make_install_args="prefix=/usr" make_check_target=test conf_files="/etc/mosquitto/mosquitto.conf" -makedepends="c-ares-devel libressl-devel libuuid-devel libwebsockets-devel" -checkdepends="python" +makedepends="c-ares-devel libressl-devel libwebsockets-devel" +checkdepends="python bcunit-devel" short_desc="MQTT version 3.1/3.1.1 compatible message broker" maintainer="Lukas Braun " license="EPL-1.0, BSD-3-Clause-Attribution" homepage="http://mosquitto.org" distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz" -checksum=78d7e70c3794dc3a1d484b4f2f8d3addebe9c2da3f5a1cebe557f7d13beb0da4 +checksum=bd730d461f5f0adf6740abf2424c76c6d1263db0011fbb073c7a5c7eb8cc188b post_extract() { case "$XBPS_TARGET_MACHINE" in