summaryrefslogtreecommitdiffstats
path: root/package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-09-13 08:07:18 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-09-13 08:42:09 +0200
commitd3a0be55382b18abb22a5592fb67a25f7f8a8d32 (patch)
tree76b19ccd7506562056a62b6de41fca00f7ffd1c0 /package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch
parent10e998e7ccc827c53f3637abb70a06f1521e239e (diff)
downloadbuildroot-d3a0be55382b18abb22a5592fb67a25f7f8a8d32.tar.gz
buildroot-d3a0be55382b18abb22a5592fb67a25f7f8a8d32.zip
paho-mqtt-c: bump to version 1.2.0
Add a patch fixing compilation on the systems without C++ compiler. Also add licence hashes. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch')
-rw-r--r--package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch b/package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch
new file mode 100644
index 0000000000..9edb2c4a8b
--- /dev/null
+++ b/package/paho-mqtt-c/0001-Declare-mqtt-tests-as-a-C-only-project.patch
@@ -0,0 +1,27 @@
+From 6556e62a07972eafccaefdcdf32bd0d386c64ca2 Mon Sep 17 00:00:00 2001
+From: Yegor Yefremov <yegorslists@googlemail.com>
+Date: Wed, 13 Sep 2017 07:59:50 +0200
+Subject: [PATCH] Declare mqtt-tests as a C-only project
+
+This way CMake doesn't break the build on the systems without
+C++ compiler.
+
+Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+Reported-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
+---
+ test/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 5c88c44..3aca80f 100644
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-PROJECT(mqtt-tests)
++PROJECT(mqtt-tests C)
+
+ IF (WIN32)
+ SET(MQTT_TEST_BROKER "tcp://mqtt.iotree.co.uk:1883" CACHE STRING "Hostname of a test MQTT broker to use")
+--
+2.1.4
+
OpenPOWER on IntegriCloud