gnu: mlt: Fix compilation against glibc 2.26.

* gnu/packages/video.scm (mlt)[source](snippet, modules): New fields.
master
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
1 changed files with 6 additions and 1 deletions

View File

@ -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, <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