Add media-libs/mlt musl-locale patch.
This commit is contained in:
parent
58542be05a
commit
38c7faf178
13
portage/patches/media-libs/mlt/musl-locale.patch
Normal file
13
portage/patches/media-libs/mlt/musl-locale.patch
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user