openwrt/tools/bison/patches/010-intl-stub-compat.patch

14 lines
417 B
Diff
Raw Normal View History

--- a/src/main.c
+++ b/src/main.c
@@ -66,8 +66,8 @@ main (int argc, char *argv[])
{
char *cp = NULL;
char const *localedir = relocate2 (LOCALEDIR, &cp);
- (void) bindtextdomain (PACKAGE, localedir);
- (void) bindtextdomain ("bison-runtime", localedir);
+ bindtextdomain (PACKAGE, localedir);
+ bindtextdomain ("bison-runtime", localedir);
free (cp);
}
(void) textdomain (PACKAGE);