gnu: glibc: Add version 2.21.
authorLudovic Courtès <ludo@gnu.org>
Thu, 24 Sep 2015 14:21:45 +0000 (16:21 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 30 Oct 2015 20:43:20 +0000 (21:43 +0100)
* gnu/packages/base.scm (glibc-2.21): New variable.

gnu/packages/base.scm

index f951e28..61eeba3 100644 (file)
@@ -633,6 +633,21 @@ with the Linux kernel.")
    (license lgpl2.0+)
    (home-page "http://www.gnu.org/software/libc/")))
 
+(define-public glibc-2.21
+  ;; The old libc, which we use mostly to build locale data in the old format
+  ;; (which the new libc can cope with.)
+  (package
+    (inherit glibc)
+    (version "2.21")
+    (source (origin
+              (inherit (package-source glibc))
+              (uri (string-append "mirror://gnu/glibc/glibc-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1f135546j34s9bfkydmx2nhh9vwxlx60jldi80zmsnln6wj3dsxf"))
+              (patches (list (search-patch "glibc-ldd-x86_64.patch")))))))
+
 (define-public glibc-locales
   (package
     (inherit glibc)