patches/glibc/2.1.3/el.po.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.1.3/el.po.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +From
     1.5 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/po/Makefile.diff?r1=1.17&r2=1.18&cvsroot=glibc
     1.6 +
     1.7 +Fixes error
     1.8 +  msgfmt -o el.mo el.po
     1.9 +  el.po:538:31: invalid multibyte sequence
    1.10 +  el.po:539:21: invalid multibyte sequence
    1.11 +  el.po:1537:38: invalid multibyte sequence
    1.12 +  msgfmt: found 3 fatal errors
    1.13 +  make[2]: *** [el.mo] Error 1
    1.14 +  make[2]: Leaving directory
    1.15 +  `/home/dkegel/wk/crosstool-0.25/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/glibc-2.1.3/po'
    1.16 +
    1.17 +===================================================================
    1.18 +RCS file: /cvs/glibc/libc/po/Makefile,v
    1.19 +retrieving revision 1.17
    1.20 +retrieving revision 1.18
    1.21 +diff -u -r1.17 -r1.18
    1.22 +--- libc/po/Makefile	1999/09/13 08:48:40	1.17
    1.23 ++++ libc/po/Makefile	2001/04/20 04:45:54	1.18
    1.24 +@@ -1,4 +1,4 @@
    1.25 +-# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    1.26 ++# Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
    1.27 + # This file is part of the GNU C Library.
    1.28 + 
    1.29 + # The GNU C Library is free software; you can redistribute it and/or
    1.30 +@@ -20,8 +20,12 @@
    1.31 + 
    1.32 + subdir := po
    1.33 + 
    1.34 ++# List of languages that are currently broken (just run msgfmt from
    1.35 ++# GNU gettext 0.10.36 on them to see why)
    1.36 ++BROKEN_LINGUAS = el
    1.37 ++
    1.38 + # List of languages for which we have message catalogs of translations.
    1.39 +-ALL_LINGUAS := $(basename $(wildcard *.po))
    1.40 ++ALL_LINGUAS := $(filter-out $(BROKEN_LINGUAS),$(basename $(wildcard *.po)))
    1.41 + 
    1.42 + # You can override this in configparms or the make command line to limit
    1.43 + # the languages which get installed.