From 52254dfbbf2d1cd3206270b386de3882554cb13e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Jun 2006 04:02:43 +0000 Subject: [PATCH] Fix issues with funky locales #125264 by J. Package-Manager: portage-2.1.1_pre1-r1 --- sys-devel/gdb/ChangeLog | 6 ++- sys-devel/gdb/Manifest | 30 +++++++------ sys-devel/gdb/files/gdb-6.5-locale.patch | 57 ++++++++++++++++++++++++ sys-devel/gdb/gdb-6.5.ebuild | 3 +- 4 files changed, 80 insertions(+), 16 deletions(-) create mode 100644 sys-devel/gdb/files/gdb-6.5-locale.patch diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 97127935b8b4..b24222c17b55 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.93 2006/06/22 00:38:43 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.94 2006/06/22 04:02:43 vapier Exp $ + + 22 Jun 2006; Mike Frysinger + +files/gdb-6.5-locale.patch, gdb-6.5.ebuild: + Fix issues with funky locales #125264 by J. *gdb-6.5-r1 (21 Jun 2006) diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index 5cc3841d80d3..103778bc5aba 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -97,6 +97,10 @@ AUX gdb-6.4-uclibc.patch 2435 RMD160 dbdc31ecf0f1797e389be965221594d1923c0f66 SH MD5 78d8fa43c0e2e339346b3bc7aa10c2d9 files/gdb-6.4-uclibc.patch 2435 RMD160 dbdc31ecf0f1797e389be965221594d1923c0f66 files/gdb-6.4-uclibc.patch 2435 SHA256 85cb69990ab8ed722433b79c6564ec65676009cd75bc258b20b7f2900a7a6676 files/gdb-6.4-uclibc.patch 2435 +AUX gdb-6.5-locale.patch 1412 RMD160 525309c87b7ae98e81a1a78464f923a299f82c1e SHA1 07accad805d9f2b5bf4cf94a30c22865ed08ec8c SHA256 a96f41ae34d36863e8fe212fc14de1386800ccdd455efb8872dc0e3eec1a697c +MD5 9cb8988a3052f658720f48783c21d973 files/gdb-6.5-locale.patch 1412 +RMD160 525309c87b7ae98e81a1a78464f923a299f82c1e files/gdb-6.5-locale.patch 1412 +SHA256 a96f41ae34d36863e8fe212fc14de1386800ccdd455efb8872dc0e3eec1a697c files/gdb-6.5-locale.patch 1412 AUX gdb-6.5-scanmem.patch 6107 RMD160 4c262b2a81050df4aebae833e03e8ed9586af86a SHA1 49bf0c450b577d857103e0449bef28615ce7fa6a SHA256 146a0803de67ef16179db884bf113cd22a64c0aeab105bb3732b6080bbd97bba MD5 ccc3ba577dc0516a12507649017d964d files/gdb-6.5-scanmem.patch 6107 RMD160 4c262b2a81050df4aebae833e03e8ed9586af86a files/gdb-6.5-scanmem.patch 6107 @@ -162,14 +166,14 @@ EBUILD gdb-6.5-r1.ebuild 2445 RMD160 a81dac60abfc1214cb3a87f89ef196bb9e2add9e SH MD5 ebbfcb3207cd4fe87c02d4fce66a8a37 gdb-6.5-r1.ebuild 2445 RMD160 a81dac60abfc1214cb3a87f89ef196bb9e2add9e gdb-6.5-r1.ebuild 2445 SHA256 9482d940b989c1cb0a366571952e94c38014171557a2f28d8a92426485019967 gdb-6.5-r1.ebuild 2445 -EBUILD gdb-6.5.ebuild 2444 RMD160 6c1001f4a30cef6bbb6ddf8378854a47d660e035 SHA1 66d455f7b352a2d0e39093b652e918b4317c9dc2 SHA256 f445f7be237d7cb4159b15ba5f214c6033f5077a3e3ce2a49b83ee233e03db6d -MD5 1e5950264b5215462697684999ed244b gdb-6.5.ebuild 2444 -RMD160 6c1001f4a30cef6bbb6ddf8378854a47d660e035 gdb-6.5.ebuild 2444 -SHA256 f445f7be237d7cb4159b15ba5f214c6033f5077a3e3ce2a49b83ee233e03db6d gdb-6.5.ebuild 2444 -MISC ChangeLog 13939 RMD160 94a3a83339541f96cd1d95c9edb54e0d22975289 SHA1 dc34ba6bae3ed3a7204fe541245600188d36f181 SHA256 de213fb20cef016367a69cab79be4b0d31c191ec6ea6ffe765d90ee7b0408961 -MD5 b7d8c997f2796c624d6c3159623fc14f ChangeLog 13939 -RMD160 94a3a83339541f96cd1d95c9edb54e0d22975289 ChangeLog 13939 -SHA256 de213fb20cef016367a69cab79be4b0d31c191ec6ea6ffe765d90ee7b0408961 ChangeLog 13939 +EBUILD gdb-6.5.ebuild 2487 RMD160 0a4226ee18bf49f7d1d78ac2f8163c057fe2c297 SHA1 70ef75845b708874ed072f077d4b40f5e9fb1f8d SHA256 478564c21c882249e406ea73a6ccc5f1844ce3d549e26d6428e66cc74a94b54a +MD5 d9c9bd9149ab7b0078f1fb057f835391 gdb-6.5.ebuild 2487 +RMD160 0a4226ee18bf49f7d1d78ac2f8163c057fe2c297 gdb-6.5.ebuild 2487 +SHA256 478564c21c882249e406ea73a6ccc5f1844ce3d549e26d6428e66cc74a94b54a gdb-6.5.ebuild 2487 +MISC ChangeLog 14084 RMD160 914437ec44d36e865eed0c4b88999ddd16761ef8 SHA1 5059d5d9d151d4a8769050097c2488c9838ad838 SHA256 77e0769a63a6e3775bbbdc510052c7e6bbe5395126523e53ba595cbe54a2c55f +MD5 8162d38bb8aff5deb54dfbc453c9fce9 ChangeLog 14084 +RMD160 914437ec44d36e865eed0c4b88999ddd16761ef8 ChangeLog 14084 +SHA256 77e0769a63a6e3775bbbdc510052c7e6bbe5395126523e53ba595cbe54a2c55f ChangeLog 14084 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 @@ -211,11 +215,9 @@ MD5 3355b559d843142239ddba932461a7ca files/digest-gdb-6.5-r1 455 RMD160 c5b703aca040cf069665e1e0c6d4e8154c747f40 files/digest-gdb-6.5-r1 455 SHA256 1932bbb4d6dc9ae50c50caa7d99dacde75670122c6beb9ea303bb7023ae6ccea files/digest-gdb-6.5-r1 455 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) +Version: GnuPG v1.4.3 (GNU/Linux) -iQCVAwUBRJnoH54WFLgrx1GWAQJESgQAkPBTFxS7wEL23ntNxZKSlFd2AomE/Z6h -SE9/T38BDazsuBzwLlIt/GnVdoJvRk/HOM7cB28fNsKwW6TpDMkFrNgNL//aI4nv -gGB8GFkaQGS9XDZBloKUUhV7gNDGrQvRy6elIoPdMU/e/2zygRRJyW+yDTd42raQ -SS3OG1vEHLQ= -=1Hhu +iD8DBQFEmhebamhnQswr0vIRArYrAKCRpX2LhFkOZEDOwYIe2LiiuyuFxwCdEaeQ +UEwurouNms95s/oHyymLmb0= +=10St -----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/files/gdb-6.5-locale.patch b/sys-devel/gdb/files/gdb-6.5-locale.patch new file mode 100644 index 000000000000..c50913169e79 --- /dev/null +++ b/sys-devel/gdb/files/gdb-6.5-locale.patch @@ -0,0 +1,57 @@ +2006-06-21 Mike Frysinger : + + * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'. + * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise + +--- gdb/Makefile.in ++++ gdb/Makefile.in +@@ -1154,6 +1154,8 @@ init.c: $(INIT_FILES) + @rm -f init.c-tmp init.l-tmp + @touch init.c-tmp + @echo gdbtypes > init.l-tmp ++ LANG=c ; export LANG ; \ ++ LC_ALL=c ; export LC_ALL ; \ + @-echo $(INIT_FILES) | \ + tr ' ' '\012' | \ + sed \ +--- gdb/gdb_indent.sh ++++ gdb/gdb_indent.sh +@@ -3,6 +3,11 @@ + # Try to find a GNU indent. There could be a BSD indent in front of a + # GNU gindent so when indent is found, keep looking. + ++# Make certain that the script is running in an internationalized ++# environment. ++LANG=c ; export LANG ++LC_ALL=c ; export LC_ALL ++ + gindent= + indent= + paths=`echo $PATH | sed \ +--- gdb/gdb_mbuild.sh ++++ gdb/gdb_mbuild.sh +@@ -22,6 +22,11 @@ + # Foundation, Inc., 51 Franklin Street, Fifth Floor, + # Boston, MA 02111-1301, USA + ++# Make certain that the script is running in an internationalized ++# environment. ++LANG=c ; export LANG ++LC_ALL=c ; export LC_ALL ++ + usage() + { + cat < " 1>&2 diff --git a/sys-devel/gdb/gdb-6.5.ebuild b/sys-devel/gdb/gdb-6.5.ebuild index 06049b18fa4f..676cf62c1322 100644 --- a/sys-devel/gdb/gdb-6.5.ebuild +++ b/sys-devel/gdb/gdb-6.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.5.ebuild,v 1.1 2006/06/21 17:38:13 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.5.ebuild,v 1.2 2006/06/22 04:02:43 vapier Exp $ inherit flag-o-matic eutils @@ -51,6 +51,7 @@ src_unpack() { fi epatch "${FILESDIR}"/gdb-configure-LANG.patch + epatch "${FILESDIR}"/gdb-6.5-locale.patch strip-linguas -u bfd/po opcodes/po } -- 2.26.2