summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-08-31 21:45:26 +0800
committerKhem Raj <raj.khem@gmail.com>2020-08-31 08:30:20 -0700
commit08779114c958a656a6d439ab488f4bd282a52bf2 (patch)
treec317948afebc87431a28c6c3d96622d74353d301
parentb2bbacfc578ae95b59f68876eebd8e4c720df423 (diff)
downloadmeta-openembedded-08779114c958a656a6d439ab488f4bd282a52bf2.tar.gz
paho-mqtt-c: upgrade 1.3.4 -> 1.3.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/files/0001-Fix-bug-of-free-with-musl.patch39
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.5.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.4.bb)5
2 files changed, 2 insertions, 42 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/files/0001-Fix-bug-of-free-with-musl.patch b/meta-oe/recipes-connectivity/paho-mqtt-c/files/0001-Fix-bug-of-free-with-musl.patch
deleted file mode 100644
index 12f9e7abcc..0000000000
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/files/0001-Fix-bug-of-free-with-musl.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 96233a8382b9520293a48b08dc3b204a21205800 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Fri, 24 Apr 2020 00:53:19 +0900
4Subject: [PATCH] Fix bug of free() with musl
5
6This fixes build error with musl C library:
7/ubinux-dev/ubinux001/contribution/build/tmp/work/armv7vet2hf-neon-poky-linux-musleabi/paho-mqtt-c/1.3.2-r0/git/src/Heap.h:55:24:
8error: expected declaration specifiers or '...' before string constant
9 55 | #define free(x) myfree(__FILE__, __LINE__, x)
10 | ^~~~~~~~
11/ubinux-dev/ubinux001/contribution/build/tmp/work/armv7vet2hf-neon-poky-linux-musleabi/paho-mqtt-c/1.3.2-r0/git/src/Heap.h:55:34:
12error: expected declaration specifiers or '...' before numeric constant
13 55 | #define free(x) myfree(__FILE__, __LINE__, x)
14 | ^~~~~~~~
15
16Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
17---
18 src/MQTTReasonCodes.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/src/MQTTReasonCodes.c b/src/MQTTReasonCodes.c
22index 416eab5..479dbac 100644
23--- a/src/MQTTReasonCodes.c
24+++ b/src/MQTTReasonCodes.c
25@@ -16,10 +16,10 @@
26
27 #include "MQTTReasonCodes.h"
28
29-#include "Heap.h"
30 #include "StackTrace.h"
31
32 #include <memory.h>
33+#include "Heap.h"
34
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
36
37--
382.17.1
39
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.4.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.5.bb
index 2d4e39bf97..673a24742f 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.4.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.5.bb
@@ -11,10 +11,9 @@ LIC_FILES_CHKSUM = " \
11 file://about.html;md5=e5662cbb5f8fd5c9faac526e4077898e \ 11 file://about.html;md5=e5662cbb5f8fd5c9faac526e4077898e \
12" 12"
13 13
14SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http \ 14SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http"
15 file://0001-Fix-bug-of-free-with-musl.patch"
16 15
17SRCREV = "2d3d0941a9233889d4d5cc37f5182bbefea261ad" 16SRCREV = "153dfd3a4a1d510697c5d55e169fa158db16e04a"
18 17
19DEPENDS = "openssl" 18DEPENDS = "openssl"
20 19