From db2eba4dc4f6958889f8664837c8c477f9808c6a Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Thu, 18 Jun 2015 08:35:17 -0400 Subject: [PATCH] mjpg-streamer: Fix musl compatibility Signed-off-by: Ted Hess --- .../patches/005-musl_compatibility.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 multimedia/mjpg-streamer/patches/005-musl_compatibility.patch diff --git a/multimedia/mjpg-streamer/patches/005-musl_compatibility.patch b/multimedia/mjpg-streamer/patches/005-musl_compatibility.patch new file mode 100644 index 0000000000..c758eb9538 --- /dev/null +++ b/multimedia/mjpg-streamer/patches/005-musl_compatibility.patch @@ -0,0 +1,13 @@ +--- a/mjpg_streamer.h ++++ b/mjpg_streamer.h +@@ -29,6 +29,10 @@ + #define MAX_OUTPUT_PLUGINS 10 + #define MAX_PLUGIN_ARGUMENTS 32 + ++#define __NEED_pthread_t ++#define __NEED_pthread_mutex_t ++#define __NEED_pthread_cond_t ++ + #include /* for videodev2.h */ + #include +