Add media-libs/mlt musl-locale patch.

This commit is contained in:
inference 2022-05-23 02:06:26 +01:00
parent 58542be05a
commit 38c7faf178

View File

@ -0,0 +1,13 @@
diff --git a/src/framework/mlt_property.h b/src/framework/mlt_property.h
index 1bfc971fb7..e2ba1c1d6d 100644
--- a/src/framework/mlt_property.h
+++ b/src/framework/mlt_property.h
@@ -30,7 +30,7 @@
#include <sys/param.h>
#endif
-#if (defined(__GLIBC__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
+#if (defined(__linux__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H)
# include <locale.h>
#elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506)
# include <xlocale.h>