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
Created attachment 125549 [details, diff] Fix gettex usage pattern
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() {
have you submitted your right upstream as well ? http://sourceforge.net/projects/flex
(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
sorry about that added to 2.5.33-r3