patches/glibc/ports-2.13/280-new-valencian-locale.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
changeset 2462 139b85d70b62
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 http://bugs.gentoo.org/show_bug.cgi?id=131815
     2 http://sourceware.org/bugzilla/show_bug.cgi?id=2522
     3 
     4 diff -durN glibc-2.13.orig/localedata/SUPPORTED glibc-2.13/localedata/SUPPORTED
     5 --- glibc-2.13.orig/localedata/SUPPORTED	2009-04-18 10:43:52.000000000 +0200
     6 +++ glibc-2.13/localedata/SUPPORTED	2009-11-13 00:50:20.000000000 +0100
     7 @@ -72,6 +72,8 @@
     8  ca_ES.UTF-8/UTF-8 \
     9  ca_ES/ISO-8859-1 \
    10  ca_ES@euro/ISO-8859-15 \
    11 +ca_ES.UTF-8@valencia/UTF-8 \
    12 +ca_ES@valencia/ISO-8859-15 \
    13  ca_FR.UTF-8/UTF-8 \
    14  ca_FR/ISO-8859-15 \
    15  ca_IT.UTF-8/UTF-8 \
    16 diff -durN glibc-2.13.orig/localedata/locales/ca_ES@valencia glibc-2.13/localedata/locales/ca_ES@valencia
    17 --- glibc-2.13.orig/localedata/locales/ca_ES@valencia	1970-01-01 01:00:00.000000000 +0100
    18 +++ glibc-2.13/localedata/locales/ca_ES@valencia	2009-11-13 00:50:20.000000000 +0100
    19 @@ -0,0 +1,96 @@
    20 +comment_char %
    21 +escape_char  /
    22 +%
    23 +% Valencian (southern Catalan) locale for Spain with Euro
    24 +%
    25 +% Note that this locale is almost the same as ca_ES@euro.  The point of having
    26 +% a separate locale is only for PO translations, which have a lot of social
    27 +% support and are very appreciated by the Valencian-speaking community.
    28 +%
    29 +% Contact: Jordi Mallach
    30 +% Email: jordi@gnu.org
    31 +% Tel:
    32 +% Fax:
    33 +% Language: ca
    34 +% Territory: ES
    35 +% Option: euro
    36 +% Revision: 1.0
    37 +% Date: 2006-04-06
    38 +% Application: general
    39 +% Users: general
    40 +% Repertoiremap: mnemonic,ds
    41 +% Charset: ISO-8859-15
    42 +% Distribution and use is free, also
    43 +% for commercial purposes.
    44 +
    45 +LC_IDENTIFICATION
    46 +title      "Valencian (southern Catalan) locale for Spain with Euro"
    47 +source     ""
    48 +address    ""
    49 +contact    "Jordi Mallach"
    50 +email      "jordi@gnu.org"
    51 +tel        ""
    52 +fax        ""
    53 +language   "Catalan"
    54 +territory  "Spain"
    55 +revision   "1.0"
    56 +date       "2006-04-06"
    57 +%
    58 +category  "ca_ES@valencia:2006";LC_IDENTIFICATION
    59 +category  "ca_ES@valencia:2006";LC_CTYPE
    60 +category  "ca_ES@valencia:2006";LC_COLLATE
    61 +category  "ca_ES@valencia:2006";LC_MONETARY
    62 +category  "ca_ES@valencia:2006";LC_NUMERIC
    63 +category  "ca_ES@valencia:2006";LC_TIME
    64 +category  "ca_ES@valencia:2006";LC_MESSAGES
    65 +category  "ca_ES@valencia:2006";LC_PAPER
    66 +category  "ca_ES@valencia:2006";LC_NAME
    67 +category  "ca_ES@valencia:2006";LC_ADDRESS
    68 +category  "ca_ES@valencia:2006";LC_TELEPHONE
    69 +category  "ca_ES@valencia:2006";LC_MEASUREMENT
    70 +
    71 +END LC_IDENTIFICATION
    72 +
    73 +LC_CTYPE
    74 +copy "i18n"
    75 +END LC_CTYPE
    76 +
    77 +LC_COLLATE
    78 +copy "ca_ES"
    79 +END LC_COLLATE
    80 +
    81 +LC_MONETARY
    82 +copy "ca_ES"
    83 +END LC_MONETARY
    84 +
    85 +LC_NUMERIC
    86 +copy "ca_ES"
    87 +END LC_NUMERIC
    88 +
    89 +LC_TIME
    90 +copy "ca_ES"
    91 +END LC_TIME
    92 +
    93 +LC_MESSAGES
    94 +copy "ca_ES"
    95 +END LC_MESSAGES
    96 +
    97 +LC_PAPER
    98 +copy "ca_ES"
    99 +END LC_PAPER
   100 +
   101 +LC_NAME
   102 +copy "ca_ES"
   103 +END LC_NAME
   104 +
   105 +LC_ADDRESS
   106 +copy "ca_ES"
   107 +END LC_ADDRESS
   108 +
   109 +LC_TELEPHONE
   110 +copy "ca_ES"
   111 +END LC_TELEPHONE
   112 +
   113 +LC_MEASUREMENT
   114 +copy "ca_ES"
   115 +END LC_MEASUREMENT