diff options
author | Ted Hess <thess@kitschensync.net> | 2014-08-13 12:46:19 -0400 |
---|---|---|
committer | Ted Hess <thess@kitschensync.net> | 2014-08-13 12:46:19 -0400 |
commit | ca7ddc5abc530ab53e5de167455fb9adc687a302 (patch) | |
tree | 64f13acf2fbd426f159f8437b9f13810d4947208 /multimedia/ffmpeg/patches | |
parent | ee6f968082c20afb071be2b31e169a3f4e900a35 (diff) |
ffmpeg: patch to fix build with uClibc 0.9.33.2
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'multimedia/ffmpeg/patches')
-rw-r--r-- | multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch b/multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch new file mode 100644 index 000000000..7dc0c27ac --- /dev/null +++ b/multimedia/ffmpeg/patches/010-remove_unused_fminf_definition.patch @@ -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) |