1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Adding a glibc patch to get proper first days of the week in the Catalan locale.

Since 2008 somehow it cannot get fixed in glibc:
https://bugzilla.redhat.com/show_bug.cgi?id=454629


svn path=/nixpkgs/trunk/; revision=33279
This commit is contained in:
Lluís Batlle i Rossell 2012-03-19 21:50:58 +00:00
parent 2199d375a2
commit a39a9b3d8e
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
https://bugzilla.redhat.com/show_bug.cgi?id=454629
--- glibc-20090510T1842/localedata/locales/ca_ES.orig 2009-06-26 14:05:18.422043552 +0200
+++ glibc-20090510T1842/localedata/locales/ca_ES 2009-06-26 14:05:38.292042700 +0200
@@ -138,6 +138,8 @@
date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
<U0025><U005A><U0020><U0025><U0059>"
+first_weekday 2
+first_workday 2
END LC_TIME
LC_PAPER

View file

@ -77,7 +77,7 @@ stdenv.mkDerivation ({
/* Without this patch many KDE binaries crash. */
./glibc-elf-localscope.patch
];
] ++ stdenv.lib.optional installLocales ./catalan-firstdays.patch;
postPatch = ''
# Needed for glibc to build with the gnumake 3.82