void-packages/srcpkgs/ffmpeg/patches/armv5tel-floating-point.patch

19 lines
464 B
Diff

--- a/libavfilter/vf_drawtext.c 2017-10-26 21:03:03.000000000 +0200
+++ b/libavfilter/vf_drawtext.c 2017-11-21 11:06:49.602284422 +0100
@@ -39,6 +39,15 @@
#endif
#include <fenv.h>
+#if (FE_ALL_EXCEPT == 0)
+/* E.g. ARM soft float does not define these */
+#define FE_INVALID 0
+#define FE_DIVBYZERO 0
+#define FE_OVERFLOW 0
+#define FE_UNDERFLOW 0
+#define FE_INEXACT 0
+#endif
+
#if CONFIG_LIBFONTCONFIG
#include <fontconfig/fontconfig.h>
#endif