Skip to content

Commit

Permalink
ffmpeg: patch to fix build with uClibc 0.9.33.2
Browse files Browse the repository at this point in the history
Signed-off-by: Ted Hess <thess@kitschensync.net>
  • Loading branch information
thess committed Aug 13, 2014
1 parent ee6f968 commit ca7ddc5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
--- a/libavutil/libm.h
+++ b/libavutil/libm.h
@@ -82,6 +82,7 @@ static av_always_inline float cbrtf(floa
#define exp2f(x) ((float)exp2(x))
#endif /* HAVE_EXP2F */

+/* ---------- BROKEN: Defined in math.h but not present in uClibc 0.9.33.2
#if !HAVE_FMINF
#undef fminf
static av_always_inline av_const float fminf(float x, float y)
@@ -91,6 +92,7 @@ static av_always_inline av_const float f
return x > y ? y : (x == x ? x : y);
}
#endif
+------------------------------------------------------------------------- */

#if !HAVE_ISINF
static av_always_inline av_const int isinf(float x)

0 comments on commit ca7ddc5

Please sign in to comment.