openwrtv3/tools/bison/patches/010-intl-stub-compat.patch
Luka Perkov 94f3a19a21 bison: update to 3.0.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39056
2013-12-15 03:59:49 +00:00

15 lines
410 B
Diff

--- a/src/main.c
+++ b/src/main.c
@@ -60,9 +60,9 @@
{
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");