~ruther/guix-local

137d957ed346547274b09ccf2383a61b5b65cce1 — Ludovic Courtès 10 years ago c8dab7f
gnu: glibc: Add version 2.21.

* gnu/packages/base.scm (glibc-2.21): New variable.
1 files changed, 15 insertions(+), 0 deletions(-)

M gnu/packages/base.scm
M gnu/packages/base.scm => gnu/packages/base.scm +15 -0
@@ 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)