aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-02-20 21:44:47 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-02-22 21:43:20 +0300
commitfd7da5b9e383405d2f4655396550dd23f9ed7262 (patch)
tree02aada47550967ad787ccdf80b9b032fc4da4485
parent58246f965024b4d337115a377324656d0d3df030 (diff)
downloadpatches-fd7da5b9e383405d2f4655396550dd23f9ed7262.tar
patches-fd7da5b9e383405d2f4655396550dd23f9ed7262.tar.gz
gnu: mlt: Fix compilation against glibc 2.26.
* gnu/packages/video.scm (mlt)[source](snippet, modules): New fields.
-rw-r--r--gnu/packages/video.scm7
1 files changed, 6 insertions, 1 deletions
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, <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