From b0eee78abb048857ffabd701dfdb6b7377ab4c62 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 20 Aug 2018 15:06:45 +0200 Subject: [PATCH] libmosquitto: Update from 1.5 to 1.5.1 --- packages/libmosquitto/CMakeLists.txt.patch | 12 ++++++++++++ packages/libmosquitto/add-liblog.patch | 12 ------------ packages/libmosquitto/build.sh | 5 ++--- 3 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 packages/libmosquitto/CMakeLists.txt.patch delete mode 100644 packages/libmosquitto/add-liblog.patch diff --git a/packages/libmosquitto/CMakeLists.txt.patch b/packages/libmosquitto/CMakeLists.txt.patch new file mode 100644 index 000000000..e19ac1724 --- /dev/null +++ b/packages/libmosquitto/CMakeLists.txt.patch @@ -0,0 +1,12 @@ +diff -u -r ../mosquitto-1.5.1/src/CMakeLists.txt ./src/CMakeLists.txt +--- ../mosquitto-1.5.1/src/CMakeLists.txt 2018-08-16 16:05:26.000000000 +0000 ++++ ./src/CMakeLists.txt 2018-08-19 15:42:58.946457265 +0000 +@@ -160,7 +160,7 @@ + endif(NOT APPLE) + + add_executable(mosquitto ${MOSQ_SRCS}) +-target_link_libraries(mosquitto ${MOSQ_LIBS}) ++target_link_libraries(mosquitto ${MOSQ_LIBS} log) + + if (UNIX) + if (APPLE) diff --git a/packages/libmosquitto/add-liblog.patch b/packages/libmosquitto/add-liblog.patch deleted file mode 100644 index dffe1da1d..000000000 --- a/packages/libmosquitto/add-liblog.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u -r ../mosquitto-1.4.10/src/CMakeLists.txt ./src/CMakeLists.txt ---- ../mosquitto-1.4.10/src/CMakeLists.txt 2016-08-17 13:05:14.000000000 +0200 -+++ ./src/CMakeLists.txt 2017-01-24 23:40:30.787022276 +0100 -@@ -107,7 +111,7 @@ - endif (UUID_HEADER) - endif(NOT APPLE) - --target_link_libraries(mosquitto ${MOSQ_LIBS}) -+target_link_libraries(mosquitto ${MOSQ_LIBS} log) - - if (UNIX) - if (APPLE) diff --git a/packages/libmosquitto/build.sh b/packages/libmosquitto/build.sh index 3ae53c45e..d9d57e30b 100644 --- a/packages/libmosquitto/build.sh +++ b/packages/libmosquitto/build.sh @@ -1,8 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://mosquitto.org/ TERMUX_PKG_DESCRIPTION="MQTT library" -TERMUX_PKG_VERSION=1.5 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SHA256=80c9606a906c736fe582b67bdfb650ee45239fea058fe34927f81277d3486e21 +TERMUX_PKG_VERSION=1.5.1 +TERMUX_PKG_SHA256=8557bc7ae34dfaf32a0fb56d2491b7a7f731269c88337227233013502df4d5b0 TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="c-ares, openssl" TERMUX_PKG_MAINTAINER="Nathaniel Wesley Filardo @nwf"