From 81d1b207ad1303991c3dc645de3b399dcd8573f3 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 3 Nov 2016 17:34:54 +0000 Subject: [PATCH] ttml: bump needed libxml2 version ttml was recently added but it won't compile unless libxml2 version 2.9.2 or later is available. In that version the first parameter of xmlGetProp switched to being a const. In previous versions the compiler complains about passing a const value to a non const argument. --- configure.ac | 2 +- ext/ttml/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index acbe9223e0..3678f331b6 100644 --- a/configure.ac +++ b/configure.ac @@ -2459,7 +2459,7 @@ AG_GST_CHECK_FEATURE(DTLS, [DTLS plugin], dtls, [ dnl *** ttml *** translit(dnm, m, l) AM_CONDITIONAL(USE_TTML, true) AG_GST_CHECK_FEATURE(TTML, [TTML plugin], ttml, [ - PKG_CHECK_MODULES(TTML, [ libxml-2.0 pango cairo pangocairo ], [ + PKG_CHECK_MODULES(TTML, [ libxml-2.0 >= 2.9.2 pango cairo pangocairo ], [ HAVE_TTML="yes" ], [ HAVE_TTML="no" diff --git a/ext/ttml/meson.build b/ext/ttml/meson.build index e7e8398f0e..5657ffb605 100644 --- a/ext/ttml/meson.build +++ b/ext/ttml/meson.build @@ -1,4 +1,4 @@ -libxml_dep = dependency('libxml-2.0', required : false) +libxml_dep = dependency('libxml-2.0', version : '>= 2.9.2', required : false) pango_dep = dependency('pango', required : false) cairo_dep = dependency('cairo', required : false) pangocairo_dep = dependency('pangocairo', required : false)