guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30554] [PATCH] gnu: mlt: Fix compilation against glibc 2.26.


From: Oleg Pykhalov
Subject: [bug#30554] [PATCH] gnu: mlt: Fix compilation against glibc 2.26.
Date: Tue, 20 Feb 2018 21:45:41 +0300

* 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 1f6a5ea33..38b762469 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
-- 
2.16.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]