summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2016-07-27 11:29:03 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2016-07-27 11:29:03 +0200
commit27bba7d3d283df0bd70f78b33124b326a2c2f2e9 (patch)
tree35053a50a92d5f8a463b8b16f1ac6974ef2928ab /patches
parent9d2287af245d9d4d09a2e9e1da2ad5d3b769890b (diff)
downloadDistroKit-27bba7d3d283df0bd70f78b33124b326a2c2f2e9.tar.gz
DistroKit-27bba7d3d283df0bd70f78b33124b326a2c2f2e9.tar.xz
ptxdist: version bump from 2016.05.0 to 2016.07.0
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/mosquitto-1.4.9/0001-CMakeLists-don-t-run-ldconfig-automatically.patch52
-rw-r--r--patches/mosquitto-1.4.9/series4
2 files changed, 56 insertions, 0 deletions
diff --git a/patches/mosquitto-1.4.9/0001-CMakeLists-don-t-run-ldconfig-automatically.patch b/patches/mosquitto-1.4.9/0001-CMakeLists-don-t-run-ldconfig-automatically.patch
new file mode 100644
index 0000000..11de869
--- /dev/null
+++ b/patches/mosquitto-1.4.9/0001-CMakeLists-don-t-run-ldconfig-automatically.patch
@@ -0,0 +1,52 @@
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+Date: Thu, 9 Jun 2016 16:04:59 +0200
+Subject: [PATCH] CMakeLists: don't run ldconfig automatically
+
+When cross building, this code starts ldconfig on the development
+machine, which is pretty useless and even wrong. Running ldconfig should
+be a manual task, so remove the automatic calls.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+---
+ lib/CMakeLists.txt | 4 ----
+ lib/cpp/CMakeLists.txt | 4 ----
+ src/CMakeLists.txt | 5 -----
+ 3 files changed, 13 deletions(-)
+
+diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
+index d9163991b6cc..e5f8d671de2a 100644
+--- a/lib/CMakeLists.txt
++++ b/lib/CMakeLists.txt
+@@ -72,7 +72,3 @@ set_target_properties(libmosquitto PROPERTIES
+
+ install(TARGETS libmosquitto RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
+ install(FILES mosquitto.h DESTINATION "${INCLUDEDIR}")
+-
+-if (UNIX)
+- install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
+-endif (UNIX)
+diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
+index b80dc181fa31..9deb2b7102c2 100644
+--- a/lib/cpp/CMakeLists.txt
++++ b/lib/cpp/CMakeLists.txt
+@@ -12,7 +12,3 @@ set_target_properties(mosquittopp PROPERTIES
+ )
+ install(TARGETS mosquittopp RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
+ install(FILES mosquittopp.h DESTINATION "${INCLUDEDIR}")
+-
+-if (UNIX)
+- install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
+-endif (UNIX)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 0008e5551bcf..1dfa602d2e6c 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -125,8 +125,3 @@ if (${WITH_TLS} STREQUAL ON)
+ target_link_libraries(mosquitto_passwd "${OPENSSL_LIBRARIES}")
+ install(TARGETS mosquitto_passwd RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
+ endif (${WITH_TLS} STREQUAL ON)
+-
+-if (UNIX)
+- install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
+-endif (UNIX)
+-
diff --git a/patches/mosquitto-1.4.9/series b/patches/mosquitto-1.4.9/series
new file mode 100644
index 0000000..7fc0ef1
--- /dev/null
+++ b/patches/mosquitto-1.4.9/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-CMakeLists-don-t-run-ldconfig-automatically.patch
+# 3161d1e7e3f71c5b78d1ce0c80d4eab2 - git-ptx-patches magic