void-packages/srcpkgs/mlt/patches/glibc-2.26.patch

16 lines
434 B
Diff
Raw Normal View History

2017-08-30 14:13:10 +02:00
--- src/framework/mlt_property.h.orig 2017-08-30 13:55:55.676748750 +0200
+++ src/framework/mlt_property.h 2017-08-30 13:59:27.660276105 +0200
@@ -31,7 +31,11 @@
#endif
#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 900506)
-#include <xlocale.h>
+# if __GLIBC_MINOR__ >= 26 && !defined(__APPLE__)
+# include <locale.h>
+# else
+# include <xlocale.h>
+# endif
#else
#include <locale.h>
#endif