Subject: bug#30554: closed (Re: [bug#30554] [PATCH] gnu: mlt: Fix compilation against glibc 2.26.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 22 Feb 2018 18:48:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30554: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30554
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30554] [PATCH] gnu: mlt: Fix compilation against glibc 2.26.
From: Oleg Pykhalov <[email-masked]>
To: Marius Bakke <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Thu, 22 Feb 2018 21:46:42 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Marius Bakke <[email-masked]> writes:

> Oleg Pykhalov <[email-masked]> writes:
>
>> * gnu/packages/video.scm (mlt)[source](snippet, modules): New fields.
>> ---
>>  gnu/packages/video.scm | 7 ++++++-
>>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> LGTM.

Pushed as fd7da5b9e383405d2f4655396550dd23f9ed7262

I'll close the bug report.

Thanks,
Oleg.

Subject: [PATCH] gnu: mlt: Fix compilation against glibc 2.26.
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Cc: Oleg Pykhalov <[email-masked]>
Date: Tue, 20 Feb 2018 21:45:41 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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