Bug 186092 - sys-devel/flex-2.5.33 uses gettext incorrectly
|
Bug#:
186092
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: dushistov@mail.ru
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sys-devel/flex-2.5.33 uses gettext incorrectly
|
|
Keywords:
|
|
Status Whiteboard:
|
|
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
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() {
sorry about that
added to 2.5.33-r3