I'm going to do an NMU for this bug with the attached patch. -- Eugeniy Meshcheryakov
diff -urpN locales.orig/debian/changelog belocs-locales-bin-2.4/debian/changelog --- locales.orig/debian/changelog 2007-04-18 22:57:48.000000000 +0200 +++ belocs-locales-bin-2.4/debian/changelog 2007-04-18 22:46:20.000000000 +0200 @@ -1,3 +1,11 @@ +belocs-locales-bin (2.4-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix locales magic number detection with glibc 2.5, + thanks to Denis Barbier (Closes: #418840) + + -- Eugeniy Meshcheryakov <[EMAIL PROTECTED]> Wed, 18 Apr 2007 22:44:43 +0200 + belocs-locales-bin (2.4-2.1) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. diff -urpN locales.orig/sbin/locale-gen belocs-locales-bin-2.4/sbin/locale-gen --- locales.orig/sbin/locale-gen 2007-04-18 22:57:48.000000000 +0200 +++ belocs-locales-bin-2.4/sbin/locale-gen 2007-04-18 22:44:31.000000000 +0200 @@ -82,7 +82,7 @@ then # Real GLIBC_MAGIC value is xor(GLIBC_MAGIC, LC_COLLATE). Is # there a way to compute it with standard tools? Let's try # something else. - if [ "$GLIBC_MAGIC" = 20051016 ]; then + if [ "$GLIBC_MAGIC" = 20051017 ]; then GLIBC_MAGIC=20051014 else GLIBC_MAGIC=$(od -tx4 "$tempdir/LC_CTYPE" | head -n 1 | awk '{print $2}')
signature.asc
Description: Digital signature