d2dfcadbabfed11ca759e56987a88c9ca879a739
[openwrt/openwrt.git] / tools / bison / patches / 010-intl-stub-compat.patch
1 --- a/src/main.c
2 +++ b/src/main.c
3 @@ -60,9 +60,9 @@ main (int argc, char *argv[])
4 {
5 set_program_name (argv[0]);
6 setlocale (LC_ALL, "");
7 - (void) bindtextdomain (PACKAGE, LOCALEDIR);
8 - (void) bindtextdomain ("bison-runtime", LOCALEDIR);
9 - (void) textdomain (PACKAGE);
10 + bindtextdomain (PACKAGE, LOCALEDIR);
11 + bindtextdomain ("bison-runtime", LOCALEDIR);
12 + textdomain (PACKAGE);
13
14 {
15 char const *cp = getenv ("LC_CTYPE");