gnu: mlt: Fix compilation against glibc 2.26.

* gnu/packages/video.scm (mlt)[source](snippet, modules): New fields.
This commit is contained in:
Oleg Pykhalov 2018-02-20 21:44:47 +03:00
parent 58246f9650
commit fd7da5b9e3
No known key found for this signature in database
GPG key ID: 7246E11C69B79569

View file

@ -1737,7 +1737,12 @@ (define-public mlt
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47"))))
"10m3ry0b2pvqx3bk34qh5dq337nn8pkc2gzfyhsj4nv9abskln47"))
(modules '((guix build utils)))
(snippet
;; As of glibc 2.26, <xlocale.h> no longer is.
'(substitute* "src/framework/mlt_property.h"
(("xlocale\\.h") "locale.h")))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests