mlt: fix building with glibc-2.26
This commit is contained in:
parent
c50081bf7d
commit
a893802458
3 changed files with 19 additions and 1 deletions
15
srcpkgs/mlt/patches/glibc-2.26.patch
Normal file
15
srcpkgs/mlt/patches/glibc-2.26.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- 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
|
3
srcpkgs/mlt/patches/series
Normal file
3
srcpkgs/mlt/patches/series
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
mlt-0.9.8-ffmpeg3.patch
|
||||||
|
musl-locale.patch
|
||||||
|
glibc-2.26.patch
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mlt'
|
# Template file for 'mlt'
|
||||||
pkgname=mlt
|
pkgname=mlt
|
||||||
version=0.9.8
|
version=0.9.8
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-gpl --enable-gpl3 --disable-swfdec --without-kde
|
configure_args="--enable-gpl --enable-gpl3 --disable-swfdec --without-kde
|
||||||
--swig-languages=python"
|
--swig-languages=python"
|
||||||
|
|
Loading…
Reference in a new issue