summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/paho-mqtt-c
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-02-12 01:00:21 +1300
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-02-19 08:20:33 +0530
commita96f3a819431168e265d15a364dcfe3c90310219 (patch)
treead2bfe61621fa429e77b9dc3db13dfc9da5a3da7 /meta-oe/recipes-connectivity/paho-mqtt-c
parent0831fc038d31a36d86e3e9a7b316edf7f0051f6d (diff)
downloadmeta-openembedded-a96f3a819431168e265d15a364dcfe3c90310219.tar.gz
paho-mqtt-c: upgrade 1.3.14 -> 1.3.15
Drop patch to fix gcc15 compatibility - the problem has been solved by upstream. Changelog: - Update getaddrinfo options to support IPv6 hostname resolution - Removed unnecessary _WIN64 conditional checks - Fixed condition variable timed wait - Support tls:// prefix Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit cb9d043f4639e88ea0267882f46a41b2c5e49c16) Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/paho-mqtt-c')
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch37
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.15.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb)5
2 files changed, 2 insertions, 40 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch
deleted file mode 100644
index 4215f698c7..0000000000
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 02fa96d0d59211e64483273e5253ca45c4395154 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 9 Apr 2025 19:05:55 +0900
4Subject: [PATCH] Fix build error due to bool keyword with gcc-15
5
6* gcc-15 uses gnu23 for c.
7 'bool' is a keyword.
8TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: error: 'bool' cannot be defined via 'typedef'
9 31 | typedef unsigned int bool;
10 | ^~~~
11TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: note: 'bool' is a keyword with '-std=c23' onwards
12TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:1: warning: useless type name in empty declaration
13 31 | typedef unsigned int bool;
14 | ^~~~~~~
15
16Upstream-Status: Submitted [https://github.com/eclipse-paho/paho.mqtt.c/pull/1595]
17Signed-off-by: mark.yang <mark.yang@lge.com>
18Signed-off-by: markyang92 <pllpokko@alumni.kaist.ac.kr>
19
20---
21 src/MQTTPacket.h | 2 ++
22 1 file changed, 2 insertions(+)
23
24diff --git a/src/MQTTPacket.h b/src/MQTTPacket.h
25index fd384ae9..0c64a0f4 100644
26--- a/src/MQTTPacket.h
27+++ b/src/MQTTPacket.h
28@@ -28,7 +28,9 @@
29 #include "LinkedList.h"
30 #include "Clients.h"
31
32+#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
33 typedef unsigned int bool;
34+#endif
35 typedef void* (*pf)(int, unsigned char, char*, size_t);
36
37 #include "MQTTProperties.h"
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.15.bb
index ad6637ed88..64b9de3848 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.15.bb
@@ -11,11 +11,10 @@ LIC_FILES_CHKSUM = " \
11" 11"
12 12
13SRC_URI = " \ 13SRC_URI = " \
14 git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master \ 14 git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master;tag=v${PV} \
15 file://0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch \
16" 15"
17 16
18SRCREV = "2150ba29d9df24ad1733c460eb099f292af84ee5" 17SRCREV = "62782406bcf511ee8e22bc34e826f8c6b8254c7c"
19 18
20DEPENDS = "openssl" 19DEPENDS = "openssl"
21 20