summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/mosquitto/files
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagna.gianfranco@gmail.com>2020-03-08 09:00:06 +0100
committerKhem Raj <raj.khem@gmail.com>2020-03-08 16:38:30 -0700
commit9f6d45379eb4b32fa8c4e9b86d1f14ace2e7756e (patch)
tree889244dfe45e7d0ad7f5e14e10f346b7373a6248 /meta-networking/recipes-connectivity/mosquitto/files
parent7e6305da8e4e390be6c8065ff98b01b4128d8416 (diff)
downloadmeta-openembedded-9f6d45379eb4b32fa8c4e9b86d1f14ace2e7756e.tar.gz
mosquitto: refresh patches and sync with Debian packaging
Also add patch from debian to mqtt_protocol.h header file Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/mosquitto/files')
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/1571.patch4
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch14
2 files changed, 15 insertions, 3 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/1571.patch b/meta-networking/recipes-connectivity/mosquitto/files/1571.patch
index 2cfa48457a..93ff6bcfa6 100644
--- a/meta-networking/recipes-connectivity/mosquitto/files/1571.patch
+++ b/meta-networking/recipes-connectivity/mosquitto/files/1571.patch
@@ -9,11 +9,9 @@ Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
9 lib/CMakeLists.txt | 2 ++ 9 lib/CMakeLists.txt | 2 ++
10 1 file changed, 2 insertions(+) 10 1 file changed, 2 insertions(+)
11 11
12diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
13index e1521f12a..14ba12739 100644
14--- a/lib/CMakeLists.txt 12--- a/lib/CMakeLists.txt
15+++ b/lib/CMakeLists.txt 13+++ b/lib/CMakeLists.txt
16@@ -88,6 +88,8 @@ set_target_properties(libmosquitto PROPERTIES 14@@ -89,6 +89,8 @@
17 OUTPUT_NAME mosquitto 15 OUTPUT_NAME mosquitto
18 VERSION ${VERSION} 16 VERSION ${VERSION}
19 SOVERSION 1 17 SOVERSION 1
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch b/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch
new file mode 100644
index 0000000000..1397fc6a24
--- /dev/null
+++ b/meta-networking/recipes-connectivity/mosquitto/files/install-protocol.patch
@@ -0,0 +1,14 @@
1Description: Also install mqtt_protocol.h, as is done in Makefile
2Author: Gianfranco Costamagna <locutusofborg@debian.org>
3Bug-Debian: https://bugs.debian.org/951116
4Forwarded: https://github.com/eclipse/mosquitto/pull/1599
5Last-Update: 2020-02-15
6
7--- a/lib/CMakeLists.txt
8+++ b/lib/CMakeLists.txt
9@@ -114,4 +114,4 @@
10 install(TARGETS libmosquitto_static ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
11 endif (WITH_STATIC_LIBRARIES)
12
13-install(FILES mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
14+install(FILES mqtt_protocol.h mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")