patches/glibc/ports-2.10.1/270-china.patch
author "Bryan Hundven" <bryanhundven@gmail.com>
Thu Mar 01 15:23:49 2012 -0800 (2012-03-01)
changeset 2909 28ac8fbd9e6a
permissions -rw-r--r--
libg/eglibc: add updated eglibc 2.15

Includes a patch to remove __builtin_expect test:

In eglibc-2.15, the build breaks in configure while testing
for the existance of __builtin_expect. It fails with newer
versions of gcc.

This patch is a modification of an upstream change in glibc
mainline (to be 2.16) to fix the following error:

[CFG ] checking for __builtin_expect... no
[ERROR] configure: error: support for __builtin_expect needed

http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: coalesce both patches into a single changeset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 
     2 
     3 diff -durN glibc-2.10.1.orig/localedata/locales/zh_TW glibc-2.10.1/localedata/locales/zh_TW
     4 --- glibc-2.10.1.orig/localedata/locales/zh_TW	2004-11-01 00:42:28.000000000 +0100
     5 +++ glibc-2.10.1/localedata/locales/zh_TW	2009-11-13 00:50:17.000000000 +0100
     6 @@ -1,7 +1,7 @@
     7  comment_char %
     8  escape_char /
     9  %
    10 -% Chinese language locale for Taiwan R.O.C.
    11 +% Chinese language locale for Taiwan
    12  % charmap: BIG5-CP950
    13  %
    14  % Original Author:
    15 @@ -17,7 +17,7 @@
    16  % Reference:	http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf
    17  
    18  LC_IDENTIFICATION
    19 -title      "Chinese locale for Taiwan R.O.C."
    20 +title      "Chinese locale for Taiwan"
    21  source     ""
    22  address    ""
    23  contact    ""
    24 @@ -25,7 +25,7 @@
    25  tel        ""
    26  fax        ""
    27  language   "Chinese"
    28 -territory  "Taiwan R.O.C."
    29 +territory  "Taiwan"
    30  revision   "0.2"
    31  date       "2000-08-02"
    32  %