Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package/mjpg-streamer: Fix musl build
@ 2016-01-26 19:24 Bernd Kuhls
  2016-01-26 20:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-01-26 19:24 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: use better patch suggested by Thomas

 package/mjpg-streamer/0001-musl-pthread.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/mjpg-streamer/0001-musl-pthread.patch

diff --git a/package/mjpg-streamer/0001-musl-pthread.patch b/package/mjpg-streamer/0001-musl-pthread.patch
new file mode 100644
index 0000000..9e76e76
--- /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: "
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v2] package/mjpg-streamer: Fix musl build
  2016-01-26 19:24 [Buildroot] [PATCH v2] package/mjpg-streamer: Fix musl build Bernd Kuhls
@ 2016-01-26 20:22 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-01-26 20:22 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Tue, 26 Jan 2016 20:24:50 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/74c/74c6006c4d7a97fa69c6feee204631861daffea9/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: use better patch suggested by Thomas

I've applied, thanks! Like for the mesa3d patch: please use Git to
format patches, and please submit upstream. Thanks ! :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-26 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26 19:24 [Buildroot] [PATCH v2] package/mjpg-streamer: Fix musl build Bernd Kuhls
2016-01-26 20:22 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox