From fd7da5b9e383405d2f4655396550dd23f9ed7262 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Tue, 20 Feb 2018 21:44:47 +0300 Subject: [PATCH] gnu: mlt: Fix compilation against glibc 2.26. * gnu/packages/video.scm (mlt)[source](snippet, modules): New fields. --- gnu/packages/video.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7676978a30..9d63de343d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1737,7 +1737,12 @@ from sites like Twitch.tv and pipes them into a video player of choice.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47")))) + "10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47")) + (modules '((guix build utils))) + (snippet + ;; As of glibc 2.26, no longer is. + '(substitute* "src/framework/mlt_property.h" + (("xlocale\\.h") "locale.h"))))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests