diff options
Diffstat (limited to 'testing/mlt/musl-locale.patch')
-rw-r--r-- | testing/mlt/musl-locale.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/testing/mlt/musl-locale.patch b/testing/mlt/musl-locale.patch index 8a71f7cb69..46f7534253 100644 --- a/testing/mlt/musl-locale.patch +++ b/testing/mlt/musl-locale.patch @@ -1,11 +1,13 @@ ---- ./src/framework/mlt_property.h.orig 2018-11-12 15:08:18.251882145 +0000 -+++ ./src/framework/mlt_property.h 2018-11-12 15:08:43.245342335 +0000 +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__)) || HAVE_LOCALE_H -+#if (defined(__linux__) && !defined(__APPLE__)) || HAVE_LOCALE_H +-#if (defined(__GLIBC__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H) ++#if (defined(__linux__) && !defined(__APPLE__)) || defined(HAVE_LOCALE_H) # include <locale.h> - #elif defined(__APPLE__) || (__FreeBSD_version >= 900506) + #elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506) # include <xlocale.h> |