void-packages/srcpkgs/ffmpeg/patches/armv5tel-floating-point.patch
2017-11-28 01:28:17 +01:00

18 lines
460 B
Diff

--- libavfilter/vf_drawtext.c 2017-10-26 21:03:03.000000000 +0200
+++ 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