patches/gcc/4.3.0/300-ca-translation-typo.patch
author Zoltan Devai <zdevai@gmail.com>
Wed Oct 28 12:03:38 2009 +0100 (2009-10-28)
changeset 1602 1ba79f2126df
parent 746 b150d6f590fc
permissions -rw-r--r--
libc/uClibc: fix building on system with recent glibc

While trying to build a toolchain with ct-ng 1.5.0,
arm-unknown-linux-uclibcgnueabi target,
I get the following error:

[INFO ] Installing C library headers
[EXTRA] Copying sources to build dir
[EXTRA] Applying configuration
[EXTRA] Building headers
[EXTRA] Installing headers
[ERROR] extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
[ERROR] make[2]: *** [extra/scripts/unifdef] Error 1
[ERROR] Build failed in step 'Installing C library headers'

The following patch solves the problem.
(It's a backport of this uClibc commit:
http://git.uclibc.org/uClibc/commit/?id=49e81cada73616864b9b31df0aeb6961c30f5a6e
)

[--SNIP from another mail--]
AFAIK this is a problem since glibc 2.10.
yann@552
     1
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/gentoo/85_all_gcc-ca-translation-typo.patch
yann@552
     2
http://bugs.gentoo.org/127190
yann@552
     3
yann@552
     4
2006-03-28  Harald van Dijk  <truedfx@gentoo.org>
yann@552
     5
yann@552
     6
	* ca.po: Fix printf flag typo in negative value translation.
yann@552
     7
yann@552
     8
diff -durN gcc-4.3.0.orig/gcc/po/ca.po gcc-4.3.0/gcc/po/ca.po
yann@552
     9
--- gcc-4.3.0.orig/gcc/po/ca.po	2007-11-10 19:36:27.000000000 +0100
yann@552
    10
+++ gcc-4.3.0/gcc/po/ca.po	2008-06-10 14:45:27.000000000 +0200
yann@552
    11
@@ -36028,7 +36028,7 @@
yann@552
    12
 #~ msgstr "passant el valor negatiu `%E' per a %s %P de \"%D\""
yann@552
    13
 
yann@552
    14
 #~ msgid "%s of negative value `%E' to `%T'"
yann@552
    15
-#~ msgstr "%s de valor negatiu `%I' a \"%T\""
yann@552
    16
+#~ msgstr "%s de valor negatiu `%E' a \"%T\""
yann@552
    17
 
yann@552
    18
 #~ msgid "initializing array with parameter list"
yann@552
    19
 #~ msgstr "inicialitzant una matriu amb una llista de paràmetres"