2009-02-20 08:46:43 +01:00
|
|
|
Wed Jun 4 14:29:07 CEST 2003 - kukuk@suse.de
|
|
|
|
|
|
|
|
- Make --no-archive default for localedef
|
|
|
|
|
Accepting request 208665 from home:Andreas_Schwab:Factory
- Update to glibc 2.18.90 bd12ab55c05e:
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
pap_CW, quz_PE, the_NP.
* Substantially revised locales: gd_GB, ht_HT
* The LC_ADDRESS field was updated to support country_car for almost all
supported locales.
* ISO 1427 definitions were updated.
* ISO 3166 definitions were updated.
* The localedef utility now supports --big-endian and --little-endian
command-line options to generate locales for a different system from that
for which the C library was built.
* Binary locale files now only depend on the endianness of the system for
which they are generated and not on other properties of that system.
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
* SystemTap probes for malloc have been introduced.
* Support for powerpc64le has been added.
* The soft-float powerpc port now supports e500 processors.
- Remove upstreamed patches:
cbrtl-ldbl-96.patch
fcntl-o-tmpfile.patch
getaddrinfo-overflow.patch
glibc-2.18.tar.xz
glibc-ld-profile.patch
glibc-nscd-hconf.diff
i686-strcasecmp-fallback.patch
m68k-Scrt1.patch
malloc-overflows.patch
nonascii-case.patch
nss-database.patch
OBS-URL: https://build.opensuse.org/request/show/208665
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=320
2013-11-27 12:31:05 +01:00
|
|
|
Index: glibc-2.18.90/locale/programs/localedef.c
|
2009-11-16 09:54:19 +01:00
|
|
|
===================================================================
|
Accepting request 208665 from home:Andreas_Schwab:Factory
- Update to glibc 2.18.90 bd12ab55c05e:
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
pap_CW, quz_PE, the_NP.
* Substantially revised locales: gd_GB, ht_HT
* The LC_ADDRESS field was updated to support country_car for almost all
supported locales.
* ISO 1427 definitions were updated.
* ISO 3166 definitions were updated.
* The localedef utility now supports --big-endian and --little-endian
command-line options to generate locales for a different system from that
for which the C library was built.
* Binary locale files now only depend on the endianness of the system for
which they are generated and not on other properties of that system.
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
* SystemTap probes for malloc have been introduced.
* Support for powerpc64le has been added.
* The soft-float powerpc port now supports e500 processors.
- Remove upstreamed patches:
cbrtl-ldbl-96.patch
fcntl-o-tmpfile.patch
getaddrinfo-overflow.patch
glibc-2.18.tar.xz
glibc-ld-profile.patch
glibc-nscd-hconf.diff
i686-strcasecmp-fallback.patch
m68k-Scrt1.patch
malloc-overflows.patch
nonascii-case.patch
nss-database.patch
OBS-URL: https://build.opensuse.org/request/show/208665
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=320
2013-11-27 12:31:05 +01:00
|
|
|
--- glibc-2.18.90.orig/locale/programs/localedef.c
|
|
|
|
+++ glibc-2.18.90/locale/programs/localedef.c
|
2012-08-28 14:25:24 +02:00
|
|
|
@@ -81,7 +81,7 @@ const char *alias_file;
|
2009-02-20 08:46:43 +01:00
|
|
|
static struct localedef_t *locales;
|
|
|
|
|
|
|
|
/* If true don't add locale data to archive. */
|
|
|
|
-bool no_archive;
|
|
|
|
+bool no_archive = true;
|
|
|
|
|
|
|
|
/* If true add named locales to archive. */
|
|
|
|
static bool add_to_archive;
|
2012-08-28 14:25:24 +02:00
|
|
|
@@ -112,6 +112,7 @@ void (*argp_program_version_hook) (FILE
|
2009-02-20 08:46:43 +01:00
|
|
|
#define OPT_REPLACE 307
|
|
|
|
#define OPT_DELETE_FROM_ARCHIVE 308
|
|
|
|
#define OPT_LIST_ARCHIVE 309
|
|
|
|
+#define OPT_ARCHIVE 310
|
Accepting request 208665 from home:Andreas_Schwab:Factory
- Update to glibc 2.18.90 bd12ab55c05e:
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
pap_CW, quz_PE, the_NP.
* Substantially revised locales: gd_GB, ht_HT
* The LC_ADDRESS field was updated to support country_car for almost all
supported locales.
* ISO 1427 definitions were updated.
* ISO 3166 definitions were updated.
* The localedef utility now supports --big-endian and --little-endian
command-line options to generate locales for a different system from that
for which the C library was built.
* Binary locale files now only depend on the endianness of the system for
which they are generated and not on other properties of that system.
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
* SystemTap probes for malloc have been introduced.
* Support for powerpc64le has been added.
* The soft-float powerpc port now supports e500 processors.
- Remove upstreamed patches:
cbrtl-ldbl-96.patch
fcntl-o-tmpfile.patch
getaddrinfo-overflow.patch
glibc-2.18.tar.xz
glibc-ld-profile.patch
glibc-nscd-hconf.diff
i686-strcasecmp-fallback.patch
m68k-Scrt1.patch
malloc-overflows.patch
nonascii-case.patch
nss-database.patch
OBS-URL: https://build.opensuse.org/request/show/208665
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=320
2013-11-27 12:31:05 +01:00
|
|
|
#define OPT_LITTLE_ENDIAN 400
|
|
|
|
#define OPT_BIG_ENDIAN 401
|
2009-02-20 08:46:43 +01:00
|
|
|
|
Accepting request 208665 from home:Andreas_Schwab:Factory
- Update to glibc 2.18.90 bd12ab55c05e:
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
pap_CW, quz_PE, the_NP.
* Substantially revised locales: gd_GB, ht_HT
* The LC_ADDRESS field was updated to support country_car for almost all
supported locales.
* ISO 1427 definitions were updated.
* ISO 3166 definitions were updated.
* The localedef utility now supports --big-endian and --little-endian
command-line options to generate locales for a different system from that
for which the C library was built.
* Binary locale files now only depend on the endianness of the system for
which they are generated and not on other properties of that system.
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
* SystemTap probes for malloc have been introduced.
* Support for powerpc64le has been added.
* The soft-float powerpc port now supports e500 processors.
- Remove upstreamed patches:
cbrtl-ldbl-96.patch
fcntl-o-tmpfile.patch
getaddrinfo-overflow.patch
glibc-2.18.tar.xz
glibc-ld-profile.patch
glibc-nscd-hconf.diff
i686-strcasecmp-fallback.patch
m68k-Scrt1.patch
malloc-overflows.patch
nonascii-case.patch
nss-database.patch
OBS-URL: https://build.opensuse.org/request/show/208665
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=320
2013-11-27 12:31:05 +01:00
|
|
|
@@ -136,6 +137,8 @@ static const struct argp_option options[
|
2009-02-20 08:46:43 +01:00
|
|
|
N_("Suppress warnings and information messages") },
|
|
|
|
{ "verbose", 'v', NULL, 0, N_("Print more messages") },
|
|
|
|
{ NULL, 0, NULL, 0, N_("Archive control:") },
|
|
|
|
+ { "archive", OPT_ARCHIVE, NULL, 0,
|
|
|
|
+ N_("Add new data to archive") },
|
|
|
|
{ "no-archive", OPT_NO_ARCHIVE, NULL, 0,
|
|
|
|
N_("Don't add new data to archive") },
|
|
|
|
{ "add-to-archive", OPT_ADD_TO_ARCHIVE, NULL, 0,
|
Accepting request 208665 from home:Andreas_Schwab:Factory
- Update to glibc 2.18.90 bd12ab55c05e:
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
pap_CW, quz_PE, the_NP.
* Substantially revised locales: gd_GB, ht_HT
* The LC_ADDRESS field was updated to support country_car for almost all
supported locales.
* ISO 1427 definitions were updated.
* ISO 3166 definitions were updated.
* The localedef utility now supports --big-endian and --little-endian
command-line options to generate locales for a different system from that
for which the C library was built.
* Binary locale files now only depend on the endianness of the system for
which they are generated and not on other properties of that system.
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
* SystemTap probes for malloc have been introduced.
* Support for powerpc64le has been added.
* The soft-float powerpc port now supports e500 processors.
- Remove upstreamed patches:
cbrtl-ldbl-96.patch
fcntl-o-tmpfile.patch
getaddrinfo-overflow.patch
glibc-2.18.tar.xz
glibc-ld-profile.patch
glibc-nscd-hconf.diff
i686-strcasecmp-fallback.patch
m68k-Scrt1.patch
malloc-overflows.patch
nonascii-case.patch
nss-database.patch
OBS-URL: https://build.opensuse.org/request/show/208665
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=320
2013-11-27 12:31:05 +01:00
|
|
|
@@ -317,6 +320,9 @@ parse_opt (int key, char *arg, struct ar
|
2009-02-20 08:46:43 +01:00
|
|
|
case OPT_PREFIX:
|
|
|
|
output_prefix = arg;
|
|
|
|
break;
|
|
|
|
+ case OPT_ARCHIVE:
|
|
|
|
+ no_archive = false;
|
|
|
|
+ break;
|
|
|
|
case OPT_NO_ARCHIVE:
|
|
|
|
no_archive = true;
|
|
|
|
break;
|