Openwrt/tools/bison/patches/010-intl-stub-compat.patch
Luka Perkov 71978cf105 bison: upgrade to version 2.7
SVN-Revision: 35827
2013-02-28 00:52:34 +00:00

16 lines
440 B
Diff

--- a/src/main.c
+++ b/src/main.c
@@ -60,9 +60,9 @@ main (int argc, char *argv[])
{
set_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);
{
char const *cp = getenv ("LC_CTYPE");