guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: mlt: Fix compilation against glibc 2.26.


From: Oleg Pykhalov
Subject: 01/01: gnu: mlt: Fix compilation against glibc 2.26.
Date: Thu, 22 Feb 2018 13:45:56 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit fd7da5b9e383405d2f4655396550dd23f9ed7262
Author: Oleg Pykhalov <address@hidden>
Date:   Tue Feb 20 21:44:47 2018 +0300

    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 7676978..9d63de3 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



reply via email to

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