aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-01-13 22:41:08 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-13 22:42:09 +0100
commit156c14c1cc9e94ae277dbe1dc786b00b8f2b5616 (patch)
tree8972459ee556218bda6d9408efa2bfb0a3239d97
parent17c3eea760ae4190b48b191d67c73a50f7691bdd (diff)
downloadpatches-156c14c1cc9e94ae277dbe1dc786b00b8f2b5616.tar
patches-156c14c1cc9e94ae277dbe1dc786b00b8f2b5616.tar.gz
gnu: livemedia-utils: Fix compilation against glibc 2.26.
* gnu/packages/video.scm (livemedia-utils)[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 df9f047b0f..46cdd13b7e 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2427,7 +2427,12 @@ many codecs and formats supported by libmediainfo.")
version ".tar.gz"))
(sha256
(base32
- "0xf3vynxqpxpd762zni0jkblnjlgbqxjx99m83m7gqx6zriph271"))))
+ "0xf3vynxqpxpd762zni0jkblnjlgbqxjx99m83m7gqx6zriph271"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; As of glibc 2.26, <xlocale.h> no longer is.
+ '(substitute* "liveMedia/include/Locale.hh"
+ (("xlocale\\.h") "locale.h")))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests