openwrt_archive/tools/bison/patches/010-intl-stub-compat.patch
Jo-Philipp Wich 05a3375f23 [backfire] merge r25869
SVN-Revision: 25870
2011-03-04 20:38:17 +00:00

16 lines
410 B
Diff

--- a/src/main.c
+++ b/src/main.c
@@ -57,9 +57,9 @@ main (int argc, char *argv[])
{
program_name = argv[0];
setlocale (LC_ALL, "");
- (void) bindtextdomain (PACKAGE, LOCALEDIR);
- (void) bindtextdomain ("bison-runtime", LOCALEDIR);
- (void) textdomain (PACKAGE);
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ bindtextdomain ("bison-runtime", LOCALEDIR);
+ textdomain (PACKAGE);
uniqstrs_new ();