Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 186092
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Evgeniy Dushistov <dushistov@mail.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
flex-2.5.33-gettext-usage-fix.patch Fix gettex usage pattern patch Evgeniy Dushistov 2007-07-21 12:38 0000 347 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 186092 depends on: Show dependency tree
Bug 186092 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-21 12:37 0000
On my machine with LANG=ru_RU.UTF-8,
all flex messages looks like '????????'.

This is because of to force gettext work,
should be calls like this
setlocale(LC_CTYPE, "");
setlocale(LC_MESSAGE, "");

but flex uses only the second one,

this bug already fixed in flex cvs

Reproducible: Always

------- Comment #1 From Evgeniy Dushistov 2007-07-21 12:38:59 0000 -------
Created an attachment (id=125549) [details]
Fix gettex usage pattern

------- Comment #2 From Evgeniy Dushistov 2007-07-21 12:40:28 0000 -------
The possible usage of patch, is change in ebuild in such way:
--- flex-2.5.33-r2.ebuild       2007-07-21 16:42:05.000000000 +0400
+++ flex-2.5.33-r3.ebuild       2007-07-21 16:42:20.000000000 +0400
@@ -25,6 +25,7 @@
        epatch "${FILESDIR}"/${PN}-2.5.31-include.patch
        epatch "${FILESDIR}"/${P}-isatty.patch #119598
        epatch "${FILESDIR}"/${P}-pic.patch
+       epatch "${FILESDIR}"/flex-2.5.33-gettext-usage-fix.patch
 }

 src_compile() {

------- Comment #3 From SpanKY 2007-07-21 19:54:47 0000 -------
have you submitted your right upstream as well ?
http://sourceforge.net/projects/flex

------- Comment #4 From Evgeniy Dushistov 2007-07-22 06:19:17 0000 -------
(In reply to comment #3)
> have you submitted your right upstream as well ?

As I mentioned above fix already in flex cvs.

> http://sourceforge.net/projects/flex
> 

See 
http://flex.cvs.sourceforge.net/flex/flex/main.c?r1=2.132&view=log

Revision 2.132 - (view) (download) (annotate) - [selected] 
Sat Apr 14 12:27:58 2007 UTC (3 months, 1 week ago) by wlestes 
Branch: MAIN 
Changes since 2.131: +1 -0 lines 
Diff to previous 2.131 
add call to setlocale for ctype as per debian patchset

------- Comment #5 From SpanKY 2007-07-30 10:10:14 0000 -------
sorry about that

added to 2.5.33-r3

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug