summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-26 20:24:50 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-26 21:21:30 +0100
commitf88a49064df9993efe2ecbc2d89e3e1301b983b7 (patch)
tree9e042335b7eb5139e8b0b033d009849683a6afc9
parentca108a803e8b265c975fd5bd4e09d8953ba61481 (diff)
package/mjpg-streamer: Fix musl build
Fixes http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mjpg-streamer/0001-musl-pthread.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mjpg-streamer/0001-musl-pthread.patch b/package/mjpg-streamer/0001-musl-pthread.patch
new file mode 100644
index 000000000..9e76e760d
--- /dev/null
+++ b/package/mjpg-streamer/0001-musl-pthread.patch
@@ -0,0 +1,18 @@
+Fix musl build
+
+Patch written by Thomas Petazzoni:
+http://patchwork.ozlabs.org/patch/572309/
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h
+--- mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b.org/plugins/input.h 2015-11-09 15:56:47.000000000 +0100
++++ mjpg-streamer-bbf32fddfd02a9e072e89e83a5b33e6ca0a7bd4b/plugins/input.h 2016-01-26 20:19:05.884349502 +0100
+@@ -20,6 +20,7 @@
+ # #
+ *******************************************************************************/
+
++#include <pthread.h>
+ #include <syslog.h>
+ #include "../mjpg_streamer.h"
+ #define INPUT_PLUGIN_PREFIX " i: "