scripts/addToolsVersion: properly handle .in vs. .in.2
While most components have their version in the .in file, some
have it in the .in.2 (eg. elf2flt).
Currently, to handle this case, we indiscriminately munge both files,
but this is wrong: in the elf2flt case, if we add a binutils version,
we do not want it to be added to elf2flt, and conversely.
So, for each tool, we need to explicitly know what file to munge.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
1 http://bugs.gentoo.org/show_bug.cgi?id=131815
2 http://sourceware.org/bugzilla/show_bug.cgi?id=2522
4 diff -durN glibc-2.12.1.orig/localedata/SUPPORTED glibc-2.12.1/localedata/SUPPORTED
5 --- glibc-2.12.1.orig/localedata/SUPPORTED 2009-04-18 10:43:52.000000000 +0200
6 +++ glibc-2.12.1/localedata/SUPPORTED 2009-11-13 00:50:20.000000000 +0100
10 ca_ES@euro/ISO-8859-15 \
11 +ca_ES.UTF-8@valencia/UTF-8 \
12 +ca_ES@valencia/ISO-8859-15 \
16 diff -durN glibc-2.12.1.orig/localedata/locales/ca_ES@valencia glibc-2.12.1/localedata/locales/ca_ES@valencia
17 --- glibc-2.12.1.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100
18 +++ glibc-2.12.1/localedata/locales/ca_ES@valencia 2009-11-13 00:50:20.000000000 +0100
23 +% Valencian (southern Catalan) locale for Spain with Euro
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.
29 +% Contact: Jordi Mallach
30 +% Email: jordi@gnu.org
38 +% Application: general
40 +% Repertoiremap: mnemonic,ds
41 +% Charset: ISO-8859-15
42 +% Distribution and use is free, also
43 +% for commercial purposes.
46 +title "Valencian (southern Catalan) locale for Spain with Euro"
49 +contact "Jordi Mallach"
50 +email "jordi@gnu.org"
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
71 +END LC_IDENTIFICATION