commit db2eba4dc4f6958889f8664837c8c477f9808c6a parent 327f74e884eb16ffe6c396b2b539e33dd9e99eca Author: Ted Hess <thess@kitschensync.net> Date: Thu, 18 Jun 2015 08:35:17 -0400 mjpg-streamer: Fix musl compatibility Signed-off-by: Ted Hess <thess@kitschensync.net> Diffstat:
| A | multimedia/mjpg-streamer/patches/005-musl_compatibility.patch | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/multimedia/mjpg-streamer/patches/005-musl_compatibility.patch 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 <linux/types.h> /* for videodev2.h */ + #include <linux/videodev2.h> +